I managed to convert csv file to pdb using the command version -
so Iknow my csv file and fields are correct.
But I want to use the view option and when I tried to use the
metafile, it kept reporting "number of fields doesn't match".
My metafile is:
title "Concert Listings - Trial"
extended on
option backup on
field Date string 20
field Day string 20
field Time string 20
field Artist string 100
field Location string 20
field Month string 10
view CompactView Date 20 Artist 100 Time 30 Day
30 Location 40
And an example data from the CSV is:
"2","Sat","19:00","London Philharmonic
Orchestra","RFH","Nov"
I rang csv2pdb using :
csv2pdb --type=db -i Concerts.ifo Dec.csv Dec.pdb
It reports number of fields etc.
But if I run csv2pdb using:
csv2pdb -t db --title "Concert Listing - Dec" -f
Date,string -f Day,string -f Time,string -f
Artist,string -f Location,string -f Month,string
Dec.txt Dec.pdb
Can anyone help?
Flora
|