how 2 get a form to delete itself

J

John Vinson

can you tell me?

thanks

You can't. If there is code on the form, deleting the form would
delete the code while it is executing.

Could you explain what you are trying to accomplish? Deleting a Form
would be a design-mode operation and certainly should not happen
routinely!
 
J

Jeff Clark

yes, i use a form that has a text box and a button.

Enter a tablename in the textbox and Acces goes out to a remotes SQL Server
and downloads the table. When we are through downloading, I don't want the
form lying around for the users to whom I give the Acces database.

This method allows me to easily download many tables into many databases.
 
R

Rick Brandt

Jeff Clark said:
yes, i use a form that has a text box and a button.

Enter a tablename in the textbox and Acces goes out to a remotes SQL Server
and downloads the table. When we are through downloading, I don't want the
form lying around for the users to whom I give the Acces database.

This method allows me to easily download many tables into many databases.

But how unintelligent are your users? All they have to do is make copies of
your Access file *before* they use it and they will be able to download as many
tables as they want.
 
C

Cheryl Fischer

In your SQL Server, you might want to investigate using the Wizard that
creates DTS Packages/Transformations. One of the options allows for the
creation of Access tables, IIRC.
 
J

Jeff Clark

Yes, thanks
Cheryl Fischer said:
In your SQL Server, you might want to investigate using the Wizard that
creates DTS Packages/Transformations. One of the options allows for the
creation of Access tables, IIRC.
 

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

Top