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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|