Bound Object Frame Value

  • Thread starter Thread starter Guest
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top