Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Backup and restore

8 views
Skip to first unread message

Mark

unread,
Aug 25, 2002, 9:05:59 AM8/25/02
to
Hi

Using Access XP on msde SQL 2000, I have created un .ADE program.

Now, with the .ADE program I can do the backup of the database located on
the msde on the same computer, but
I am not able to restore the database.

Backup command : DoCmd.RunCommand acCmdBackup

Restore command : DoCmd.RunCommand acCmdRestore ----> but it
does not work

Someone can help me? Is it possible?

Many Thanks in advance

Marco Dell'Oca
D.M.Software


Mary Chipman

unread,
Aug 25, 2002, 10:49:41 AM8/25/02
to
If you look up the Restore command in Access help, you will see that
it is about restoring a window, not a database. You can backup and
restore databases easily using the Enterprise Manager if you have the
full version of SQL Server. If you don't, you can programmatically
backup and restore using SQL-DMO, which is documented in SQL Books
Online. There's no way to do this from a macro.

-- Mary
Microsoft Access Developer's Guide to SQL Server
http://www.amazon.com/exec/obidos/ASIN/0672319446

Guy Horton

unread,
Aug 26, 2002, 10:23:45 PM8/26/02
to
Hi Mark,

If I understand the question correctly you want to be able to backup and
restore your MSDE database.

Access 2002 does provide database backup and restore commands under the
tools/database utilities menu which you could access via a customised menu
or toolbar?

Hope this helps
Guy


"Mark" <dmsof...@tin.it> wrote in message
news:XC4a9.16019$pX1.4...@news2.tin.it...

Mark

unread,
Aug 28, 2002, 9:46:00 PM8/28/02
to
Thank Mary

I have solved the problem.

Marco Dell'Oca
D.M.Software

"Mary Chipman" <mc...@nomail.please> ha scritto nel messaggio
news:2grhmucqot2unf2ui...@4ax.com...

Mark

unread,
Aug 28, 2002, 9:45:30 PM8/28/02
to
Thank Guy

I have solved the problem.

Marco Dell'Oca
D.M.Software

"Guy Horton" <guy.h...@microscienta.com> ha scritto nel messaggio
news:#npvLDXTCHA.1952@tkmsftngp09...

0 new messages