Hi everyone, this is probably a simple problem, but i can't figure out how to slove it.
I have a VB module that creates a new database with a table that has the same structure as my current database. I now want to copy the current record from my current database into the new database and new table.
Here is the code i used to make the new database and table
Set rst1 = db.OpenRecordset("Century_Inventory")
rst1.MoveFirst
Set dbsNew = wrkDefault.CreateDatabase(apiDB, _
dbLangGeneral, dbEncrypt)
dbsNew.Close
DoCmd.TransferDatabase acExport, "Microsoft Access", _
apiDB, acTable, "Century_Inventory", api, -1
now all i want to do is copy the current record into this table. I know i could edit this table and list all of the fields manually to copy it, but i want to do something that is more dynamic and copy and paste the entire record.
Durible Outer Casing to Prevent Fall-Apart
I have a VB module that creates a new database with a table that has the same structure as my current database. I now want to copy the current record from my current database into the new database and new table.
Here is the code i used to make the new database and table
Set rst1 = db.OpenRecordset("Century_Inventory")
rst1.MoveFirst
Set dbsNew = wrkDefault.CreateDatabase(apiDB, _
dbLangGeneral, dbEncrypt)
dbsNew.Close
DoCmd.TransferDatabase acExport, "Microsoft Access", _
apiDB, acTable, "Century_Inventory", api, -1
now all i want to do is copy the current record into this table. I know i could edit this table and list all of the fields manually to copy it, but i want to do something that is more dynamic and copy and paste the entire record.
Durible Outer Casing to Prevent Fall-Apart