J
Jason Morin
Hello. A friend of mine has the following situation:
She has database with a linked table that is actually a
link to an Excel spreadsheet. When you click a form
button, it does an append query of the data in the XL
worksheet into an Access table with the same field names.
It also adds a date/time stamp into an additional field
after every append.
The problem: If you press the button *3* times (ie run
the append query), the records get duplicated. The 4th
time they get quadrupled!
Example: XL worksheet has 34 data rows + headers. Press
form button. 34 rows are appended with date/time stamp.
Press form button 2nd time. 34 same rows + new date/time
stamp = 68 total rows in table. So good so far. Again a
*third* time and *68* rows get appended, not 34! Press
the button a 4th time, 136 rows get appended!
What's happening?
TIA
Jason
She has database with a linked table that is actually a
link to an Excel spreadsheet. When you click a form
button, it does an append query of the data in the XL
worksheet into an Access table with the same field names.
It also adds a date/time stamp into an additional field
after every append.
The problem: If you press the button *3* times (ie run
the append query), the records get duplicated. The 4th
time they get quadrupled!
Example: XL worksheet has 34 data rows + headers. Press
form button. 34 rows are appended with date/time stamp.
Press form button 2nd time. 34 same rows + new date/time
stamp = 68 total rows in table. So good so far. Again a
*third* time and *68* rows get appended, not 34! Press
the button a 4th time, 136 rows get appended!
What's happening?
TIA
Jason