G
Guest
Hi y'all,
I have a "SearchForm" where the user
selects criteria to query my tables by.
But the combination of criterias
the user may pickscould be too complex for
my pre-saved query (built using the Query builder).
So I was thinking about writing vba code
within the searchform that would create the
SELECT statement based on the users criteria
then run it and display the results.
But, would it be correct for me to assume that one
can not construct & run simple SELECT SQL statements
from within vba UNLESS i go into Toos>References> and
checkmark the "Microsoft DAO 3.6 Object Library"?
Cheers,
WebDude Out.
(ms access 2000)
I have a "SearchForm" where the user
selects criteria to query my tables by.
But the combination of criterias
the user may pickscould be too complex for
my pre-saved query (built using the Query builder).
So I was thinking about writing vba code
within the searchform that would create the
SELECT statement based on the users criteria
then run it and display the results.
But, would it be correct for me to assume that one
can not construct & run simple SELECT SQL statements
from within vba UNLESS i go into Toos>References> and
checkmark the "Microsoft DAO 3.6 Object Library"?
Cheers,
WebDude Out.
(ms access 2000)