WackyWaterGuy
Registered User.
- Local time
- , 22:41
- Joined
- May 29, 2003
- Messages
- 25
HI everyone!
Hope you all are doing well today. Just a quick question about a a probem I cant seem to solve for the life of me. I have a main form, and within it, subforms. I am setting up a dynamic query system, which I have successfully done when the checkboxes are on the mainform (where the code to create and run the query exists). Now I am trying to put different groups of options on to different subforms (in tabs), have the user go through those tabs, select the boxes they wish, and then click a button on the main form to run the query. My problem is stemming from the fact that I cannot seem to reference the checkbox on the subform.
Below is a little snip of code to show what I have been trying to do:
Can anybody make a suggestion as to how I can reference this checkbox??
Please get back to me, as any help would be greatly appreciated!
Thanks
WWG
Hope you all are doing well today. Just a quick question about a a probem I cant seem to solve for the life of me. I have a main form, and within it, subforms. I am setting up a dynamic query system, which I have successfully done when the checkboxes are on the mainform (where the code to create and run the query exists). Now I am trying to put different groups of options on to different subforms (in tabs), have the user go through those tabs, select the boxes they wish, and then click a button on the main form to run the query. My problem is stemming from the fact that I cannot seem to reference the checkbox on the subform.
Below is a little snip of code to show what I have been trying to do:
Code:
If [Forms].[GVLLayout].[GVL Shift A] = -1 Then [COLOR=green]'(<--this is where the code is barfing...the rest of it works!)[/color]
Shift = Shift & ",'A'"
End If
Can anybody make a suggestion as to how I can reference this checkbox??
Please get back to me, as any help would be greatly appreciated!
Thanks
WWG