Table create with no data

Discussion in 'Questions (Windows Mobile)' started by tvrman, Jun 24, 2007.

  1. tvrman

    tvrman Member Licensed User

    For my current project, i have serveral tables,
    if i create a new project i also create a new empty table.
    (later i will add data to it.)

    Table3.AddRow ("", "" , "", "", "")
    Table3.SaveCSV ("Table1.CSV",",",False)

    The problem which i had is that when i open my project there
    is one blank line in the table :sign0161:

    Is there an way to create an table without any data on it?,
    just create only the filename.csv for example ?

    (the idea is that i need to setup some tables for later use, the files needs exists before open it,
    like access you create the table before adding data to it.)
    Last edited: Jun 24, 2007
  2. JJM

    JJM Active Member Licensed User


    Try that:

    Table3.OpenCSV ("Table1.CSV",",",True).

    I don't test it but I think so it's only the empty header which is open and there is no data.


    JJ M
  3. RandomCoder

    RandomCoder Well-Known Member Licensed User

    You could always set the visible property to false until after the data has been loaded to the table.

  4. specci48

    specci48 Well-Known Member Licensed User

    Additionally to this you have to code
    Table3.SaveCSV ("Table1.CSV",",",[B]True[/B])
    Now you don't need to add a blank row before saving the table.

  5. tvrman

    tvrman Member Licensed User

    yes just what i was looking for, i have not read the manual very
    well :signOops: