FC 7 Issue

Bob Keeney bkeeney at everestkc.net
Thu Aug 4 11:11:41 CDT 2005


 > What means no files are created ?

 > Do you have db files already on disk ?
 > If no, then you need call not open() but create at first.

No, files are NOT on disk.  I am using the exact code from  
V4RB_Tutorial_2.en.pdf page 5:

======Snip========
    dim f as FolderItem
      f = GetFolderItem( “dbPersons.vdb”  )
      mDatabase = new VDatabase
      // If Database exists we open it, otherwise we create it.
    try
       mDatabase.Open( f )
    catch err as VException
       mDatabase.Create( f, EVDbMode.kDscDatBlbInd )
    end

======End Snip========

This is what I mean by being frustrated.  I follow the documentation  
and now you say it's not the right way of doing it.


More information about the Valentina-beta mailing list