Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Understanding Currentdb.execute

Status
Not open for further replies.

dmaranan

Programmer
Joined
Aug 14, 2001
Messages
46
Location
US
As always I am learning VBA as quickly as I so I can fix an application...

I'm trying to understand the syntax Currentdb.execute. I have a line of code that says , currentdb.execute "submitDEdata". My guess was that "submitDEdata" was a stored procedure. Unfortunately it isn't; the current db is an MS Access table, and the SQL serverdatabase that the MS Access table connects do does not have a stored procedure called submitDEdata.

I've got to VBA books and can't find what arguments can be passed to currentdb.execute. My gues is that it passes SQL, if thats the case what is "submitDEdata"?

Thanks!
 
You have a query that has this name and that is what is being executed (maybe its hidden)
 
Is there a way to show hidden queries?
 
Go to Tools==>Options and click on Hidden Objects
 
I see them!!!! You are my hero!!! Thank you, thank you, thank you.

Its hard going from Informix to MS Access...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top