D
Diogo
OK
Need help with the following problem:
I want to create a form for the user to fill the search criteria, that will
be used in a query.
The form would have 6 fields and I would like to write code that would see
which fields the user wrote and use those known fields has search criteria in
a query.
Something like:
Field1 = asdf
Field2 = ....
Field3 = asdf
Field4 = ....
Field5 = ....
Field6 = ....
If Field1 not null and ...
Then select * from table1 where Field1=[Form1.Field1.Value] and ...
Where the rest would be the non null fileds in the form that the user uses?
Need help with the following problem:
I want to create a form for the user to fill the search criteria, that will
be used in a query.
The form would have 6 fields and I would like to write code that would see
which fields the user wrote and use those known fields has search criteria in
a query.
Something like:
Field1 = asdf
Field2 = ....
Field3 = asdf
Field4 = ....
Field5 = ....
Field6 = ....
If Field1 not null and ...
Then select * from table1 where Field1=[Form1.Field1.Value] and ...
Where the rest would be the non null fileds in the form that the user uses?