Group:  Microsoft Access ยป microsoft.public.access.externaldata
Thread: Inporting data to specific record

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Inporting data to specific record
Eleanor of Aquitaine 01.08.2006 17:27:01
I have a database of students with unique ID numbers. When they complete an
assignment, their results are caluclated in an Excel Spreadsheet. I want to
import the scores to matching fields in my database. so I want to do an
export or import (whichever is easiest), match to the unique ID and then fill
in the fields.

It's not an update query, because I'm not replacing data and it's not an
append query because I'm not adding new records. I just want to match the
record and then fill in the fields.

Any suggestions?
RE: Inporting data to specific record
Klatuu 01.08.2006 17:58:01
My first suggestion would be to abandon the Excel spreadsheet and enter the
data directly into Access.
If there is some overriding reason that can't be done, you will have to do a
little work.
I would link to the Excel sheet, then create a query based on the Access
table and the Excel sheet, joined on whatever your primary key fiend is, and
use that is the record source for the form where the data will be entered.

"Eleanor of Aquitaine" wrote:

[Quoted Text]
> I have a database of students with unique ID numbers. When they complete an
> assignment, their results are caluclated in an Excel Spreadsheet. I want to
> import the scores to matching fields in my database. so I want to do an
> export or import (whichever is easiest), match to the unique ID and then fill
> in the fields.
>
> It's not an update query, because I'm not replacing data and it's not an
> append query because I'm not adding new records. I just want to match the
> record and then fill in the fields.
>
> Any suggestions?
RE: Inporting data to specific record
Eleanor of Aquitaine 01.08.2006 20:31:02
Okay, thanks for the input. I thought I might be missing something, but I
will take your suggestion and forget the Excel.

Thanks for the prompt response.

"Klatuu" wrote:

[Quoted Text]
> My first suggestion would be to abandon the Excel spreadsheet and enter the
> data directly into Access.
> If there is some overriding reason that can't be done, you will have to do a
> little work.
> I would link to the Excel sheet, then create a query based on the Access
> table and the Excel sheet, joined on whatever your primary key fiend is, and
> use that is the record source for the form where the data will be entered.
>
> "Eleanor of Aquitaine" wrote:
>
> > I have a database of students with unique ID numbers. When they complete an
> > assignment, their results are caluclated in an Excel Spreadsheet. I want to
> > import the scores to matching fields in my database. so I want to do an
> > export or import (whichever is easiest), match to the unique ID and then fill
> > in the fields.
> >
> > It's not an update query, because I'm not replacing data and it's not an
> > append query because I'm not adding new records. I just want to match the
> > record and then fill in the fields.
> >
> > Any suggestions?

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net