Deleting All Forms

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

Guest

Hello,

I would like to write some code that will delete all the forms in a
database. At present I have the database split and the front end on many
different servers. Each of these are copied to peoples c drive so I can't
access them.

I would like to finish the database so that the user can click a button and
this will delete all forms (apart from the one open!) and will import all
forms from the master database.

Could somebody tell me how I would go about doing that?

Thanks,

Martin
 
Martin said:
Hello,

I would like to write some code that will delete all the forms in a
database. At present I have the database split and the front end on
many different servers. Each of these are copied to peoples c drive
so I can't access them.

I would like to finish the database so that the user can click a
button and this will delete all forms (apart from the one open!) and
will import all forms from the master database.

Could somebody tell me how I would go about doing that?

Normally with a split app you give users updates by simply replacing the
entire front end file with a new one. Is there some reason you aren't doing
that?
 
Yes it is because the user copies the front end to their local hard drive and
I cannot access their local drives. I know I could just tell them to
download the front end from the server but I wanted to avoid that and let
them refresh in their own time.
 
The point that Martin was making is that since the FE is just a file on
the users local PC, to update the FE its just a matter of the user
copying the new version of the FE from a central location and saving it
on top of the version that they have already.

Also the statement 'I know I could just tell them to download the front
end from the server but I wanted to avoid that and let them refresh in
their own time' doesn't make any sense.

If you want them to 'refresh in their own time' that pretty much
requires letting them know that there's a new version available and
having them copy it to their PC.

Back in the day, I did create a batch file that automatically copying
the front end from a file server to the hard drive of the machine on
which the batch file ran. A cheap file install if you would.

David H
 
Martin said:
Yes it is because the user copies the front end to their local hard
drive and I cannot access their local drives. I know I could just
tell them to download the front end from the server but I wanted to
avoid that and let them refresh in their own time.

So create for them a batch file or script file that copies the new version
to their PC and have them run that when they want to do the update. There
are also numerous strategies for making the update completely automatic.
What you're suggesting is a LOT more complicated than necessary.
 
Back
Top