Bound Object Frame Value

R

Resti M. Guay

hi there!
is ther any wayt to check if the Bound Object Frame has image or picture value
 
T

Tom Wickerath

Hello Access Addict,

The Access 2000 version of the Northwind sample database provides an
example. It is found in the Form_Current event procedure of the Employees
form, which uses a bound object frame:

Private Sub Form_Current()
' Make the palette of the application associated with the objects
' in the Photo field available to the PaintPalette property of
' the form.
If Not IsNull(Me!Photo) Then Me.PaintPalette = Me!Photo_ObjectPalette

End Sub


So, something like this might work for you:

Private Sub Form_Current()

If Not IsNull(Me!FieldName) Then ' or
' If IsNull(Me!FieldName) Then

' <Your code here>

End if

End Sub


Note that the Access 2002 version of this database uses an image control,
with images stored externally to the database.

Tom
_______________________________________

:

hi there!
is ther any wayt to check if the Bound Object Frame has image or picture value
 
Top