osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

cvs and easy populate help please. DBF to csv to MySql

This is a discussion on cvs and easy populate help please. DBF to csv to MySql within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Ok I did a search, read csv related posts but its still not clicking I have a databse in dbf. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-21-2005, 04:05 PM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prisiri
Default cvs and easy populate help please. DBF to csv to MySql

Ok

I did a search, read csv related posts but its still not clicking

I have a databse in dbf. I am trying to upload it using the easy update feature.

I can convert this database to csv. no problem there.

My question is as follows.

My database fields have all diferent names than the csv i downloaded from my OSC store.

Do I have to change the field names in my dbf created database?

Or can I use the field names i want to?

Thanks in advance guys

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-21-2005, 04:49 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default RE: cvs and easy populate help please. DBF to csv to MySql

Yes.
Make a back up copy of your .dbf.

Once you dbf is converted to csv - open it in Excel or similar spredsheet program - Use Edit > Find > Find & Replace to change over your field names.

NOTE: Every product must have a unique id usually Field A - v_products_model & the last field must be EOREOR.

{Easy Populate is a .txt file. In Windows - right click on it & "Open With" Excel.}

Must be saved as a tab delimited text file before inserting it into the database..
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-21-2005, 05:31 PM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prisiri
Default



Cool. Thanks Neil.

Now a bonus question

How do I get the (BLOB) replaced in spreadsheet program, with the actual image name when i open it in excell(actually openoffice)?

thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-21-2005, 06:03 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default

Good question,
Maybe some reverse engineering to see which BLOB relates to which image or how they are mapped to the individual records.
I'm guessing if you exported the database to excel this may provide you with their file names. Good luck.
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-21-2005, 06:59 PM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prisiri
Default

ha ha

Thanks.

That blob didn't work too good. it wa sabed in csv as blob

I had only 20 records and pics names are basically the model names so it was an easy task.

I still need to figure a way to convert that blob field to actual image name.

I have 300+ records to create so....

I'll let u know what I come up with.

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-21-2005, 07:37 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default

The field heading for images is v_products_image
Eg. image579.jpg
FTP image579.jpg to the catalog/images directory.
EP locates & displays image579.jpg relevant to that record.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-21-2005, 08:39 PM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prisiri
Default

Yes I know that.

The problem Im having is with my dbf conversion to XLS MyImages.jpg are converted as (BLOB)

so before uploading i have to manualy alter that fields record.

My dbf program stinks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-22-2005, 08:40 AM
New Member
 
Join Date: Nov 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prisiri
Default

DUH

I have to create a seperate field for the image name in my db.

i had the actual image in my db so I guess it was basically a lnked reference to the image location

Thanks 4 the help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-23-2005, 03:29 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default

Correct:
In EP you have a seperate field for images - heading is v_products_image
Eg. image579.jpg
FTP image579.jpg to the catalog/images directory.
EP locates or links to image579.jpg.

Note: You can also have widgits/image57.jpg as a reference in your images field of EP (v_products_image)
FTP image57.jpg to the catalog/images/widgits directory.
EP locates or links to image57.jpg in that directory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Easy populate countingsheep osCMax v2 Installation issues 2 06-26-2006 02:18 PM
Where did Easy Populate Go? ScaleCreep osCMax v1.7 Discussion 10 02-21-2005 08:23 AM
Easy Populate lem osCMax v1.7 Discussion 6 12-07-2004 03:28 PM
Easy populate bug test3be osCMax v1.7 Discussion 0 03-29-2004 03:01 AM
How to use Easy Populate judoka osCommerce 2.2 Installation Help 1 07-07-2003 10:47 AM


All times are GMT -8. The time now is 12:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax