View Single Post
  #3 (permalink)  
Old 02-13-2008, 01:35 PM
BjornF BjornF is offline
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 141
Default

Hi Gjoisa,

the easiest way to do it is to use a comma delimited file (for small databases).

Put a table-control on the form you will be using and then create the table by adding columns to it e.g.:
table1.AddCol (cString, "PlaceName", 0) and so on for each column you want to add (the syntax is under "addcol", under "table" in the helpfile)

Once you have created the columns in the table you can fill it with data (see "cell" under "table" in the helpfile)

Finally you save it with e.g.
table1.SaveCSV, e.g. Table1.SaveCSV ("Astrology.csv", ",", True)
once again the syntax is in the helpfile. The resulting file can be read by any text editor e.g. notepad.

I assure you, it is very straightforward - to my mind that is what makes it so nice to work with Basic4ppc

Good luck ! / Björn

Edit: As always Erel succeeds in answering first - but this time your comment is shorter than mine !
Reply With Quote