Question : MS Access Table

Hi i have an excel spreadsheet with 7 tabs. Each tab stores the data from different table. Each tab has got a field that stores the User information , user ids. So i got just a stand alone table , i want to go through all the tabs in the spreadsheet, and grab the user information only from all the tabs and store that in this table . I do not know how to do that. please help me . Thank YOu.

Answer : MS Access Table

Well, I guess you could make a big table with duplicates of the field names in all the different tables, and import data to it, but I wouldn't advise that, as it wouldn't be much use.  Instead, I would recommend doing the export separately for each sheet, matching the column names in that sheet with the field names in the table whose data was exported to that sheet.  Then you need to determine whether you are updating an existing record, or adding a new record, and use Edit for updating and AddNew for adding new records.  

If you are careful about naming objects, you might be able to use the same procedure for doing all the exports, with an argument for the table name, and iterating through the columns, writing data from each to the same-named field in the Access table.  This would take some time to set up, but would be more efficient in the long run.
Random Solutions  
 
programming4us programming4us