I am writing a program in VB 2005 Express and I am using SQL to insert, delete, etc. I was curious if there was a SQL statement that would allow me to backup the database in Access - I have tried the MySQL syntax for it, but I can't seem to figure out what Access would use. The regular SQL statement throws an error.

You can try to make a copy of the original MDB file and that can be used as a backup of actual data. The syntaxes of oracle or mysql will not work here.

VBA can do file I/O

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.