I would like to know whether it is possible or not to display a conditional picture in a form. Example:
if X>0 then picture 1 is displayed else picture 2 is displayed
I have looked for it but I didn’t find anything
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Or if the picture is not directly on the form, but in a image control:
EDIT:
Okay, you can do this when you have the form open in design mode:
there is a button in the toolbar to open the code window:

(the screenshot is from Access 2003, I don’t know which version you’re using)
you can run code on events in the form like when the form is opened or closed.
Check out this tutorial (Page 10).
And here is another tutorial about VBA Basics in Access.