Update prices in access from Excell

S

Simon

I have a Spreadsheed with the follwoing Coloums, ProductCode, Price

I have a Access Table, tblProduct, with lots of flields but main ones
i need in this project are ProductCode and Price Inc VAt

Currently i have 1300 products in in the database, i have just been
given a spread sheet with 200 new prices for products already in
database. Is there a way to upload an excel spreadsheet that will
upodate price in access
 
D

David C. Holley

Yes, if the values in the spreadsheet can be matched to products in the
database for example by using a Product Number. Its a simple matter to loop
through the rows in the spreadsheet and update the values in the database.

For the future though, whoever created the spreadsheet should be using the
database as it will eliminate the need to update the values. If the
spreadsheet was created by pulling data out of another system, your database
should pull the values from there.

David
 
J

Jeff Boyce

Simon

It sounds like you are trying to replace existing prices with new, updated
prices.

If you keep historical information about "orders" (including products),
there's a chance that you could lose "former pricing" information when you
simply update a product's price.

How depends on what, and you haven't described what use you intend to make
of the product/price data...

More info, please...

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top