Using Microsoft Access, VBA and SQL - what is the simplest way to create a backup table that is appropriately named -


i'm looking simple , creative way backup table using vba and/or sql.

i need backup table name include backup table name, date , time backed , number of records table held @ time of backup.

i'm using...

    currentdb.execute ("select * [tblname bu " & cstr(format(now(), "yyyymmdd hhmmss")) & " records=> " & currentdb.openrecordset("tblnameimbackingup").recordcount & "] tblnameimbackingup;") 

is there better?

you can try docmd.copyobject make , exact copy.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -