I am creating an access database for some users who are new to Access 2010. The process imports a bunch of records from excel into the database. However, I need to give them an easy way to view any records that error. Along with the ability to update or delete the records. I've created a query to gather this informaiton for them. The question is how would it be best to have them view this information? I have a form that has a button to do the importing and then I thought about a couple of buttons for error reporting.
Reports don't seem to allow deleting. However, I also don't know a way to pop up the results of the select query that I have created.
Any thougths or ideas on how best to do this? I would like to make this as easy as possible for them. However, if they are going to maintain this thing they need to learn how to use it as well. I'm tempted to have them just manually run the queries.
Just so you know, most experienced programmers would not recommend this, as just as the ability to edit data in an Excel spreadsheet is good for the users, it is bad in that it can hose up normalized data in a way that importing it into a database will result in errors.
>I need to give them an easy way to view any records that error.
Either build a form, or easier yet let them view the resulting ImportErrors table.
If you have the time and experience, a better approach would be to write VBA code that identifies any errors, then handles them by either displaying a message to the user, creating a file with the errors, or however else it is determined they should be handled.
>Reports don't seem to allow deleting.
Correct. Reports are optimized to display data on paper in a cosmetically appealing way, not to act as a user interface to edit data. Forms are optimized to act as a user interface to edit data.
>Any thougths or ideas on how best to do this?
The knee-jerk reaction of many developers would be to move the data from the Excel spreadsheet into Access, then link it back to the Excel spreadsheet.
>I would like to make this as easy as possible for them
Keep in mind none of this is really 'easy'.