auto answer on system message

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

Guest

when I create table using VB there is system 'yes no' message asking to
create a table or not.

how can I switch it off or automatically answer yes not to let users to
interupt?

thanks
 
when I create table using VB there is system 'yes no' message asking to
create a table or not.

how can I switch it off or automatically answer yes not to let users to
interupt?

thanks

In your code (VB? or VBA?) put a line

DoCmd.SetWarnings True

before the table creation event; and

DoCmd.SetWarnings False

afterward. Or, use the querydef's Execute method.

John W. Vinson[MVP]
 

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