osCmax v2.5 User Manual
Results 1 to 9 of 9

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. ...

      
  1. #1
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    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


  2. #2
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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

  3. #3
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    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

  4. #4
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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

  5. #5
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    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.

  6. #6
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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.
    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

  7. #7
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    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

  8. #8
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    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

  9. #9
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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.
    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

Similar Threads

  1. Easy populate
    By countingsheep in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 06-26-2006, 01:18 PM
  2. Where did Easy Populate Go?
    By ScaleCreep in forum osCmax v1.7 Discussion
    Replies: 10
    Last Post: 02-21-2005, 07:23 AM
  3. Easy Populate
    By lem in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 12-07-2004, 02:28 PM
  4. Easy populate bug
    By test3be in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-29-2004, 02:01 AM
  5. How to use Easy Populate
    By judoka in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 07-07-2003, 09:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •