J
Jay
Hi,
I'm trying to code a combo box and want to define a String variable and have
a For..Each..Next loop that goes through all the Queries in my database
(actually an .adp Access project) and add each query name to the string.
Then I can make my Combo's Row Source the string (after concatenating with
char(34) and ";"). This will enable the Combo to always show all the
queries in the database.
However, when I try and set my For Next statement there isn't a 'AllQueries'
option for me to add to the end of the following statement:
For Each AccessObject In CurrentProject.
Can anyone help me. Is there an 'AllQueries' collection that I can use? Any
help greatly appreciated..
Many thanks.....Jason
I'm trying to code a combo box and want to define a String variable and have
a For..Each..Next loop that goes through all the Queries in my database
(actually an .adp Access project) and add each query name to the string.
Then I can make my Combo's Row Source the string (after concatenating with
char(34) and ";"). This will enable the Combo to always show all the
queries in the database.
However, when I try and set my For Next statement there isn't a 'AllQueries'
option for me to add to the end of the following statement:
For Each AccessObject In CurrentProject.
Can anyone help me. Is there an 'AllQueries' collection that I can use? Any
help greatly appreciated..
Many thanks.....Jason