spectrolab
Registered User.
- Local time
- Today, 11:13
- Joined
- Feb 9, 2005
- Messages
- 119
Hi,
I currently have a select query that has a where statement to select a value depending on the value of a combo box in a form.
What I am wondering is there any way that the where statement can be for another form depending on what form is currently active by using an "or" statement?
Basically what I am trying to do is make the db as easy to use as possible and not have to type in the value again.
I currently have a select query that has a where statement to select a value depending on the value of a combo box in a form.
Code:
WHERE (((tblSampleSubmission.SubmissionNumber)=[Forms]![frmReportPreview]![SubNumber]))
What I am wondering is there any way that the where statement can be for another form depending on what form is currently active by using an "or" statement?
Basically what I am trying to do is make the db as easy to use as possible and not have to type in the value again.