Access 2000 and VBA
I have a series of forms in my Database. I have my main form (FORM1) and on the bottom of it I have rectangles with text in them and an "on click" event that takes me to (FORM2) or (FORM3) etc. I come back from each form to my main form. Once input is complete on (FORM2) I have a check box (Yes/No) for done. I want to then change the background color of the Box1 (Box2) etc. to grey. That way my user can see at a glance how many of the forms that pertain to the complete database have been done without looking through each FORM to see. I understand the basic principle of the number codes, but I want to do something like...
if FORM2!CheckBox1 = Yes Then
FORM1!Box1.backcolor = 12632256
else endif
Now that is a guess. What little I did playing with it didnt work so far. Where would I put the code....I was thinking it should be in the "on click" button that sends me "back" from FORM2 to FORM1.
I have searched the thread and havent stumbled on an answer. Any help would be greatly appreciated.
Mike
I have a series of forms in my Database. I have my main form (FORM1) and on the bottom of it I have rectangles with text in them and an "on click" event that takes me to (FORM2) or (FORM3) etc. I come back from each form to my main form. Once input is complete on (FORM2) I have a check box (Yes/No) for done. I want to then change the background color of the Box1 (Box2) etc. to grey. That way my user can see at a glance how many of the forms that pertain to the complete database have been done without looking through each FORM to see. I understand the basic principle of the number codes, but I want to do something like...
if FORM2!CheckBox1 = Yes Then
FORM1!Box1.backcolor = 12632256
else endif
Now that is a guess. What little I did playing with it didnt work so far. Where would I put the code....I was thinking it should be in the "on click" button that sends me "back" from FORM2 to FORM1.
I have searched the thread and havent stumbled on an answer. Any help would be greatly appreciated.
Mike