helloworld
Registered User.
- Local time
- Today, 13:00
- Joined
- May 18, 2004
- Messages
- 62
Hey there,
I am not a very experienced VB programmer as some of you guys out there and I really need help with this one. I am trying to open a report and this is the code I got.
DoCmd.OpenReport stDocName, acPreview, , data_criteria & criteria
where data_criteria is one part of the where condition and criteria is a variable derived from which checkbox is clicked. If only one checkbox is clicked, the code works...however if I click two or more, the code does not work..Could someone please help?
thanks
I am not a very experienced VB programmer as some of you guys out there and I really need help with this one. I am trying to open a report and this is the code I got.
DoCmd.OpenReport stDocName, acPreview, , data_criteria & criteria
where data_criteria is one part of the where condition and criteria is a variable derived from which checkbox is clicked. If only one checkbox is clicked, the code works...however if I click two or more, the code does not work..Could someone please help?
thanks