G
Guest
Hi I'd like to know which one of these functions is faster:
dim strsql as string
strsql = "SELECT * FROM ... INTO ..."
docmd.runsql strsql
OR
dim strsql as string
strsql = "SELECT * FROM ... INTO ..."
currentdb.execute strsql
My opinion is that currentdb.execute should be faster because it's not using
a macro. But I may be wrong. If you have an idea please post !!!
Thanks in advance
Francois Houde
dim strsql as string
strsql = "SELECT * FROM ... INTO ..."
docmd.runsql strsql
OR
dim strsql as string
strsql = "SELECT * FROM ... INTO ..."
currentdb.execute strsql
My opinion is that currentdb.execute should be faster because it's not using
a macro. But I may be wrong. If you have an idea please post !!!
Thanks in advance
Francois Houde