Is there a simple or plain way of doing what I want. To me, in my mind, what I want to do is really simple..
I have a form that displays records based on one flat table. Each record could have an associated jpeg image. The image is stored outside on the db and the table stores links to the images in a field called Image1.
This is what I want to do:
If the control on the form called Image1 is displaying a jpeg for the current record then I want access to hide 3 other controls.
If control Image1 does not have a jpeg to display then I want Access to hide the control Image1 but show the 3 controls it was hiding.
Now I know this is not the correct syntax but it may serve to show what I am trying to do in the simplist terms.
If Image1 has jpeg Then
Image1.visible = True
ctrl1.visible = False
ctrl2.visible = False
ctrl3.visible = False
Else (if not?)
Image1.visible = False
ctrl1.visible = True
ctrl2.visible = True
ctrl3.visible = True
Is what I am trying to do available in these simple terms ?
Thank you again
Kenny
I have a form that displays records based on one flat table. Each record could have an associated jpeg image. The image is stored outside on the db and the table stores links to the images in a field called Image1.
This is what I want to do:
If the control on the form called Image1 is displaying a jpeg for the current record then I want access to hide 3 other controls.
If control Image1 does not have a jpeg to display then I want Access to hide the control Image1 but show the 3 controls it was hiding.
Now I know this is not the correct syntax but it may serve to show what I am trying to do in the simplist terms.
If Image1 has jpeg Then
Image1.visible = True
ctrl1.visible = False
ctrl2.visible = False
ctrl3.visible = False
Else (if not?)
Image1.visible = False
ctrl1.visible = True
ctrl2.visible = True
ctrl3.visible = True
Is what I am trying to do available in these simple terms ?
Thank you again
Kenny