I am importing an Excel file into Access using the following code. How do I view the table data without a form having been assigned to it. The format and columns of the data will change so I want to be able to view the data after load. Is there a way to have a multipurpose form that can load any table
DoCmd.TransferSpreadsheet acImport, , "New Table", F, True
Not sure I understand the question in terms of intent, but as long as the table name doesn't change, you can have a query defined as:
SELECT * FROM <table name>
and open that in code after the import. You'll get the query output on the screen.
Even more simply, just open the table from the database container, but I'm assuming you meant this from an end user perspective.
That's what I meant about not understanding; who and how will this functionality need to be used.
I really just want the user to see the table in a read only format. I also want it to be a pop out.