Computing.Net > Forums > Database > Importing .CSV

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Importing .CSV

Reply to Message Icon

Name: NooK
Date: January 12, 2008 at 18:16:23 Pacific
OS: Windows XP Pro - SP2
CPU/Ram: P4 2.26GHz, 1GB
Product: ASUS Clone
Comment:

Hey Everyone,
I'm currently trying to setup an online store, my wholesaler provides all their product info via .CSV file. The file from my wholsaler has about 6000 items. I cleaned up the file and have all the products I want to use in my store. Everything uploads correctly. Great, good...Anyhow now how do I update my .CSV without overwriting all the formatting I already did? There is pretty much two coloums I need to change that are always need updating daily: STOCK and PRICE.

I guess all I'm asking is how to take the raw .CSV from wholesaler and compare and replace the price and stock coloums of my EDITED .CSV I've been using excel to edit my csv...


Any Ideas will help

Hope to hear from you all soon....



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: January 13, 2008 at 02:09:16 Pacific
Reply:

I would compare the stock numbers in the your price list with the updated price list and if the new price is different update your price. If you data is in a database all you need is an update routine.


0

Response Number 2
Name: NooK
Date: January 13, 2008 at 20:20:36 Pacific
Reply:

Im a beginner, everything is in a .csv file. Do i have to import it to a database for this tow work or can it be done in excel?


0

Response Number 3
Name: wizard-fred
Date: January 14, 2008 at 00:15:45 Pacific
Reply:

How is the data stored in your online store software? I can't think of an easy way to use Excel to update from a csv file directly.



0

Response Number 4
Name: NooK
Date: January 14, 2008 at 06:40:55 Pacific
Reply:

It's stored in a mySQL database. Which all the data is imported via the .csv, the .csv for the card has to be setup a specific way.

I think I may need a script or a program that can search and compare my PARTNUMs and then replace price and stock if the PARTNUM match.

I was thinking this way

A VB Script or any language,

Which allows me to specify my Shopping cart .CSV then specify my updated wholesaler .CSV - The script would then compare wholesaler.csv with Shoppingcart.csv by PARTNUM. If the PARTNUMs match change, then change price and stock field within Shoppingcart.csv with price and stock from wholesaler.csv

Like I said before, any Ideas help we are at the start stage here.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: Importing .CSV

SQL and CSV file www.computing.net/answers/dbase/sql-and-csv-file/173.html

Import Multiple *txt in Access www.computing.net/answers/dbase/import-multiple-txt-in-access/41.html

Can I import simply Acc. into Acces www.computing.net/answers/dbase/can-i-import-simply-acc-into-acces/353.html