When using an SQL statement in
VB is there a way it can access your GUI information?
Here is an example of what I am talking about
:
If by use of check boxes I have a number of items that can be added to group. Can the SQL statement make use of this group instead of a table?
Docmd.runSQL "INSERT INTO [Some Table] (data1, data2, data3, â¦, datan) " _
& "SELECT stuff FROM [Some Other Table] " _
& "WHERE specificItem IN (
An array, or some other data container)
I am currently making a temporary table and storing a list of 2 or 3 values inside it. This means that I have the overhead of creating a table, having the table queried and then deleting the table when Iâm done, when I could spoon feed the correct data directly into the SQL statement!
Any advice would be appreciated.
Thanks
-Roni
Roni Estein
[email protected]
https://www.e-drugsCanada.com