G
Guest
I'm not sure of all the correct terms for this question. I want to read
elements from an SQL table via ODBC. This is for authentication purposes and
I don't want to expose a pass through query where the user can see it. So, I
want to do the same thing within the code module and essentially create the
pass through query dynamically (or create it and then delete it). I am
familiar with creating the sql string, and then saying:
sqltext = "My SELECT statement"
Set myq = mydb.QueryDefs("qpassMyQuery")
myq.SQL = sqltext
Now, instead of adding the sqltext to an existing query, I want to create
the query on the fly. Can any one guide me or refer to a kb article? Thank
you.
elements from an SQL table via ODBC. This is for authentication purposes and
I don't want to expose a pass through query where the user can see it. So, I
want to do the same thing within the code module and essentially create the
pass through query dynamically (or create it and then delete it). I am
familiar with creating the sql string, and then saying:
sqltext = "My SELECT statement"
Set myq = mydb.QueryDefs("qpassMyQuery")
myq.SQL = sqltext
Now, instead of adding the sqltext to an existing query, I want to create
the query on the fly. Can any one guide me or refer to a kb article? Thank
you.