importing tables
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Importing tables

Importing tables

resolvedResolved · Low Priority · Version 2003

replyReply Thu 19 Feb 2009, 16:34Delegate Daniel said...

Daniel has attended:
Access Intermediate course

Importing tables

i need to import data each month from Excel, say a monthly file. My queries are set up to look at the current table, say Jan09 however, when I import Feb, I need my queries to now look at feb09. To get round this i call the file "Current Month" so the queries are always looking at this table. I then make a copy of this to save the original, import the new monthly data calling it feb09, rename the table Current Month, and then rename the Feb09 file to Current Month. Therefore the table Current Month now contains the latest monthly data and the queries are still looking at the right table. I would like some sort of prompt / macro to ask which table my queries should be looking at. I then select Feb09 after importing it for example, and the the queries will then look at it. This means i wouldn't have to copy / paste Current Month all the time. Another way i've got round it is by adding a "Month" column to the Excel file before importing, and then appendng it to the "Current Month" table. Actually, after today, a parameter query might be the answer so the user can select which month?? Sorry if this is confusing! Danny.

For upcoming training course dates see: Pricing & availability

replyReply Wed 15 Apr 2009, 14:35Trainer Jacob said...

RE: importing tables

Hi Daniel

Thanks for your post, one of our VBA trainers has had a look at this and their initial suggestions are that if you have done any VBA in Access or Excel before then it would be beneficial for you to attend our 2 day Introduction VBA courses, more information please [url=http://www.microsofttraining.net/ms-access-training-courses-in-london-2003-vba.phpclick here

Alternatively you can specify your work to us and we can help in a consultancy role with agreed objectives and costs.

Hope this helps.

Regards

Jacob

Tue 21 Apr 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
access+training and other Microsoft training courses.

Access tip:

Create own ribbon tab - Access 2010

a. In Access click on the File tab
b. Select Options from left hand side
c. Choose the Customize Ribbon section
d. Click the New Tab button (below the list of tabs on the right hand side of the dialog box)
e. Select the New Tab (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
f. Select the New Group (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
g. Add commands to your tab and group by locating them on the list on the right hand side (remembering that you can change the list using the drop down box at the top of the list of commands) and clicking the Add button between the two panes to add them to your tab and group
h. You can rearrange the commands in your group, the groups on any tab or the tabs, using the up and down arrow buttons beside the list of tabs.
i. Click OK to apply your changes

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard