Using two options in Execute

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am converting an Access back end to SQL Server. Along the way I wanted to
add two options to an Execute statement. The second is to make it run under
SQL. Is it possible to have 2 options and what is the correct syntax

qdf.Execute dbFailOnError dbSeeChanges
 
qdf.Execute dbFailOnError dbSeeChanges

dbFailOnError and dbSeeChanges are enumerated constants. They
represent numbers. Add them together - dbFailOnerror+dbSeeChanges

Put your editing cursor on .Execute and press F1 for more help.

HTH
Ananda
 
Thanks a lot Ananda. That did it. A useful piece of information that is not
obvious in the VBA help.

Neville
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top