473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Importing from excel

}{
Guys,

I have a database that basically logs service calls. The calls table has
entries for call no among other things. This call number field has a one to
many relationship with another table (Parts).

When filling in the details, it isn't a problem, I simply click the small
plus sign next to the call and enter parts used in the parts table, this
way, these specific parts are associated with this call.

To make life easier for myself, I have asked some of the guys to record all
of the required info on a spreadsheet and email it to me.

My question is, is it possible to have the import function split the rows in
the spreadsheet so that the required info is put into the call table and the
parts info is put into the assiciated entry in the parts table, using the
import function, or anything else that springs to mind.

Thanks
Oct 5 '08 #1
1 1495
Two options:
1.
Stucture the spreadsheet so that it apes the one to many as in
Call# Time Subject Part# PartPrice
0234 10:30 No Video v654 $10.30
0234 v623 $3:20
0234 s89 $11.90
Import that file into a transitory table and then use two queries
to append the appropriate portions of the records to the one
and the many table.

2.
Write a VBA routine to open an instance of Excel. Read the
data directly from the cells in Excel. Take it back to Access
and write the data directly into the one and many table as
appropriate.

Option 1 preferred

Regards

Kevin

"}{" <sn**********@blueyonder.co.ukwrote in message
news:uN****************@newsfe13.ams2...
Guys,

I have a database that basically logs service calls. The calls table has
entries for call no among other things. This call number field has a one
to many relationship with another table (Parts).

When filling in the details, it isn't a problem, I simply click the small
plus sign next to the call and enter parts used in the parts table, this
way, these specific parts are associated with this call.

To make life easier for myself, I have asked some of the guys to record
all of the required info on a spreadsheet and email it to me.

My question is, is it possible to have the import function split the rows
in the spreadsheet so that the required info is put into the call table
and the parts info is put into the assiciated entry in the parts table,
using the import function, or anything else that springs to mind.

Thanks

Oct 5 '08 #2

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

Similar topics

4
by: Little PussyCat | last post by:
Hello, I nee to write something that will transfer excel data into an SQL Server table. I have for another database application I wrote have it importing Excel spreadsheet data using cell by...
9
by: Edward S | last post by:
I budget for a Project in an Excel sheet as illustrated below. The months below are usually a 2 year period i.e. 24 months, though it could be over 24 months depending upon a Project. I then...
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
2
by: nutthatch | last post by:
I want to be able to import an Excel spreadsheet into Access 2K using the macro command Transferspreadsheet. However, the file I am importing (over which I have no control) contains some records...
9
by: jillandgordon | last post by:
I am trying to import an excel file into Access 97. It looks perfectly all right but, every time I try to import it, I get to the lst step and am told that it was not imported due to an error. ...
2
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
2
by: jereviscious | last post by:
Hi all - Last resort time. I'm importing data from a spreadsheet that I receive from one of my vendor using interop.excel. The date field in excel is entered as 4/7/2006, but when I retrieve...
5
by: hharriel | last post by:
Hi, I am hoping someone can help me with an issue I am having with excel and ms access. I have collected data (which are in individual excel files) from 49 different school districts. All...
3
by: mukeshsrivastav | last post by:
dear sir i want to move form excel to access. i have 5 excel file having same formats and fields.now i want to import all data in one access table. importing one file is easy .but importing and...
28
by: kkadakia | last post by:
I get a daily excel file for a entire month which I want to transfer into Access at the end of the month. So, there are around 20-25 excel files I get by the end of the month, and I would like to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.