Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change data with an import

Status
Not open for further replies.

FireGeek21

Technical User
Dec 12, 2007
218
US
Looking to find out if it is possible to change existing data in an Access table with data from an import file (Excel) based on a key field.

Ideas on how to do this???

Thanks!!

FireGeek
(currently using Crystal Reports XI with Lawson 9.01)
 
Yes.
Read a row of data from Excel file
Run the statement:
[tt]
UPDATE MyAccessTable
Set SomeFieldInTable = SomeFieldFromExcel,
SomeOtherFieldInTable = SomeOtherFieldFromExcel
WHERE KeyField = Something[/tt]

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top