R
robert demo via AccessMonster.com
I do not allow my users to directly interact with tables. Instead, I
present them with a datasheet view of certain tables. These datasheet view
forms can then be used to input large numbers of rows via "Paste Append"
Here's the problem. Sometimes there are paste errors. I recently paste
appended 8200 rows and there were only three paste errors, but because I
don't provide direct access to the tables (i.e. the database window is not
available to the user), these rows couldn't be displayed.
How could I via code present the opportunity to users to see the paste
error table (probably via a datasheet form). A couple of difficulties:
1) there may be more than one paste error table (perhaps from a previous
attempt), so how do I trap the name of the paste error table that MS Access
lists in their message box when a paste error occurs. If I can't I could
display a combobox that lists all the tables with the word "Paste" in the
table title and the user could select which one to view. There would also
be an option to delete the table.
2) What can I use as a trigger in code to make the viewing of paste error
tables available. I guess it could be a menu bar item (I use custom menus)
, but is there any way to use the MS Access event that displays the Paste
Errors message as a trigger?
Any ideas or help is greatly appreciated.
Thanks.
present them with a datasheet view of certain tables. These datasheet view
forms can then be used to input large numbers of rows via "Paste Append"
Here's the problem. Sometimes there are paste errors. I recently paste
appended 8200 rows and there were only three paste errors, but because I
don't provide direct access to the tables (i.e. the database window is not
available to the user), these rows couldn't be displayed.
How could I via code present the opportunity to users to see the paste
error table (probably via a datasheet form). A couple of difficulties:
1) there may be more than one paste error table (perhaps from a previous
attempt), so how do I trap the name of the paste error table that MS Access
lists in their message box when a paste error occurs. If I can't I could
display a combobox that lists all the tables with the word "Paste" in the
table title and the user could select which one to view. There would also
be an option to delete the table.
2) What can I use as a trigger in code to make the viewing of paste error
tables available. I guess it could be a menu bar item (I use custom menus)
, but is there any way to use the MS Access event that displays the Paste
Errors message as a trigger?
Any ideas or help is greatly appreciated.
Thanks.