From: Simon on
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
From: David C. Holley on
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

"Simon" <S.Dickson(a)shos.co.uk> wrote in message
news:0b36a0ad-f9c1-459f-bfb8-c7c544d82c14(a)q33g2000vbt.googlegroups.com...
>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


From: PieterLinden via AccessMonster.com on
David C. Holley wrote:
>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

What? WHy not attach the spreadsheet, inner join the two tables, and turn
that into an update query...

--
Message posted via http://www.accessmonster.com

From: Jeff Boyce on
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.

"Simon" <S.Dickson(a)shos.co.uk> wrote in message
news:0b36a0ad-f9c1-459f-bfb8-c7c544d82c14(a)q33g2000vbt.googlegroups.com...
>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