Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUN TIME ERROR '3197' ?!?!?!?!?!

Status
Not open for further replies.

mabaulza

IS-IT--Management
Oct 25, 2004
12
GB
Hey,

I have a database that tracks and logs all work that we have in our department. when i try to save a record a runtime error '3197' appears, and when i click debug the following code is highlighted:

DoCmd.TransferDatabase acExport, _
"Microsoft Access", _
"R:\Jobs Database\BACKUP.MDB", _
acTable, _
"TblJobList", _
"Backup_" & Format(Date, "mmddyyyy") & "_" & Format(time, "hhmmss")

Can anyone help me?!?!?!?!?!?!?!?!?
 
You export an entire table every time someone saves a record?

Why wouldn't you put an audit table in the BACKUP.MDB database and link it in the production database so you could simply add a record to it every time someone adds or edits a record. That way you can include the user's name and other details to the record instead of just putting a timestamp on a table name.

VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
I have tried leaving the target DB open when i run the main DB, but still not luck.

Thing is, this DB has been working perfectly right up until a few days before new year! would this have anything to do with the problem??

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top