[V4RB] Duplicating record

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Mar 5 21:40:03 CST 2005


On 3/5/05 4:37 PM, "Christer Olsson" <christer at ljusaideer.se> wrote:

>>> No setblank() called. My stripped down non-working code:
>>> 
>>>   dim query as String
>>>   dim res as Boolean
>>>   dim c as VCursor
>>> 
>>>   query = "SELECT recID,* FROM company WHERE recID = '150'"
>>>   c = app.mDataBase.SqlSelect( query, 2, 3, 2 )
>>>   c.Field("ID_fld").SetString( "newID" ) // unique field
>>>   res = c.add
>> 
>> 2 3 2
>> 
>> This is serverSide, ReadWrite ?
> 
> Yes.

So what happens after AddRecord() ?

Cursor still have one record???

And table do not get new record?

And no any error code like NOT UNIQUE field ?


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list