472,981 Members | 1,358 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 software developers and data experts.

How to import/map excel table data to access table data?????

Hi.

How do I import while mapping an excel table to an access table please???
I've searched around and all I can find is a software product or code that
does the same thing as the access wizard.....

If I have to write vb code, where is a sample???

Or do I import the excel in to a new spreadsheet and then
write some kind of querey to move the data from that table
to my current production table.. How do I do this?

Seems to me, access would be able to do this???

Thanks, ANY infor would be appreciated.!

Fred

Nov 12 '05 #1
2 15407
"Fred" <fg***************@yahoo.com> wrote in message news:<bn************@ID-76446.news.uni-berlin.de>...
Hi.

How do I import while mapping an excel table to an access table please???
I've searched around and all I can find is a software product or code that
does the same thing as the access wizard.....

If I have to write vb code, where is a sample???

Or do I import the excel in to a new spreadsheet and then
write some kind of querey to move the data from that table
to my current production table.. How do I do this?

Seems to me, access would be able to do this???

Thanks, ANY infor would be appreciated.!

Fred

Any reason you can't create an import specification and then just use it?
Nov 12 '05 #2
Hi.

Thanks for some info. I soved the problem!!!!! After much searching all over
the net, but finally used
Balters's Access 2000 Dev book. Wow.

The problem was to load a current 'Client' table from an excel spreadsheet.
The 'Client' table also has several many-to-one relationships to several
other tables that further define a client. Some examples... Address State
Abbrevs, Client Status, Contact Type.

So there were two issues...
1.) How to map the data field by field from the excel to the current Client
Table.
2.) How to map using relationships to store the table pointers for the
relationship. i.e pointer to the state table for state abbrev in address
using the 2 letter state code stored on the excel spreadsheet.

I did the "get external data' of the excel spreadsheet to create a WORK
Client Table which will be temporary.

I used 'create query in design mode' and (THIS IS IMPORTANT) selected the
the State table, the Client Status Table, Contact Type and the WORK Client
table . All of these are for the input side of the query. I then dragged
the state, status and client type data fields from the WORK client table to
the other tables to establish there relationships. This does the lookups to
get the correct ID's.

I then selected from the top toolbar, Query, Append Query and selected the
Clients Table which this data will get appended to. This creates an append
query.

I then draged the fields down to the lower grid and selected the matching
fields in the 'Append To'. For the relationship tables, I dragged the ID's
(or pointers) and not the data.

(A side note,, on some 'not required fields' on the client table, I had to
set 0 length okay.)

I ran the query and it worked. It set the correct pointers for all the
relationship tables too.

Fred

"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"Fred" <fg***************@yahoo.com> wrote in message

news:<bn************@ID-76446.news.uni-berlin.de>...
Hi.

How do I import while mapping an excel table to an access table please??? I've searched around and all I can find is a software product or code that does the same thing as the access wizard.....

If I have to write vb code, where is a sample???

Or do I import the excel in to a new spreadsheet and then
write some kind of querey to move the data from that table
to my current production table.. How do I do this?

Seems to me, access would be able to do this???

Thanks, ANY infor would be appreciated.!

Fred

Any reason you can't create an import specification and then just use it?

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Fred | last post by:
Hi. How do I import while mapping an excel table to an access table please??? I've searched around and all I can find is a software product or code that does the same thing as the access...
5
by: Johnny Meredith | last post by:
I have seven huge fixed width text file that I need to import to Access. They contain headers, subtotals, etc. that are not needed. There is also some corrupt data that we know about and can...
4
by: Steve Jorgensen | last post by:
I'm restarting this thread with a different focus. The project I'm working on now id coming along and will be made to work, and it's too late to start over with a new strategy. Still, I'm not...
1
by: John Hewitt | last post by:
A 'newbie' question - importing into Access from Excel. Googled the group postings but I can't find the amswer I have a 50 line three column file in Excel that contains Names and Tel numbers....
3
by: deko | last post by:
I've been trying to use the Access Import Wizard to expedite importing data into my mdb. The nice thing about the wizard is that I can import from different file formats - txt, xls, even Outlook -...
15
by: daniroy | last post by:
Hello everybody, your help will be very very welcome on a very classic question... I have some Excell Macro background, a little bit of VBA knowledge. I import daily from Internet series of...
11
by: MD | last post by:
Hello, I need to import a sheet of 884 different excel-file with same lay- out. The sheet name is 'Totaal' and is the same in all different files. Is there a script (module) in order to: 1....
4
by: Earl Anderson | last post by:
I guess I missed the boat on the logic for this one. Immediately upon hitting "Import" in an attempt to import an Excel file containing 7 columns of 'txt' formatted data into AXP, I got a "Type...
6
by: provor | last post by:
Hello, I have the following code that I am using when a user presses a button to import an excel file into a table. The code is hard coded to point to the correct table. This works great for this...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.