A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update prices in access from Excell



 
 
Thread Tools Display Modes
  #1  
Old May 26th, 2010, 09:21 PM posted to microsoft.public.access
Simon
external usenet poster
 
Posts: 335
Default Update prices in access from Excell

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
  #2  
Old May 27th, 2010, 12:24 AM posted to microsoft.public.access
David C. Holley[_2_]
external usenet poster
 
Posts: 131
Default Update prices in access from Excell

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" wrote in message
...
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



  #3  
Old May 27th, 2010, 12:52 AM posted to microsoft.public.access
PieterLinden via AccessMonster.com
external usenet poster
 
Posts: 307
Default Update prices in access from Excell

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

  #4  
Old May 27th, 2010, 05:19 PM posted to microsoft.public.access
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Update prices in access from Excell

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" wrote in message
...
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.