[VSERVER WIN] Back to Vserver, Ouch

Fred.Stephenson Fred.Stephenson at communication-unltd.com
Fri Nov 7 15:23:19 CST 2003


Hi Ruslan,
Either I've missed something somewhere along the line, which is 
highly likely, or  we've got a problem.
Using the latest build V4RB client and MacOSX Vserver and Win Server.

this works ie, it adds a record

   dim res as boolean
   dim c as vcursor
   c = mCallerWindow.MDataBase.SqlSelect("SELECT * FROM Person where 
recid=0", kV_server, kV_ReadWrite )
    c.SetBlank       // Clear memory buffer
   CollectPanes(c)              // Read data from panes to the fields 
of the table
  res = c.Add
   mCallerWindow.mDataBase.flush


but this doesn't

  dim res as boolean
   dim c as vcursor
   c = mCallerWindow.MDataBase.SqlSelect("SELECT * FROM Person where 
recid=0", kV_client, kV_ReadWrite )
    c.SetBlank       // Clear memory buffer
   CollectPanes(c)              // Read data from panes to the fields 
of the table
  res = c.Add
   mCallerWindow.mDataBase.flush

Do cursors have to be "server" to add and update records ???

If so where does it say it in the docs??

all the best
Fred



More information about the Valentina mailing list