main logo
Subject: Re: [V4RB] Problem adding records
Author: Stan Busk
Posted: 2003/11/28 14:56:00
 
View Entire Thread
New Search


Hi,

Yes, I am sure! AddRecord() returns no error, Flush() doesn't return
any error either. I have checked db.ErrorCode just after each command
to make sure despite my application use code to display a dialog on
error. At the beginning I could not believe records were not added and
no error was thrown but as soon as I set my db file to Read/Write it
worked as usual. When I set it back to Read only, again same behavior.
100% reproducible.

Stan

> on 11/28/03 7:38 PM, Stan Busk at maxprog .at. mac DO.T com wrote:
>
>> Hi,
>>
>> Yes, the problem exists. If the database has the 'Read only' privilege
>> Valentina doesn't return errors at all. I am talking about Panther.
>> When I add a record nothing happens and no error is returned. I simply
>> get GerRecID=0.
>
> You sure?
>
> You have check db.ErrorCode AFTER AddRecord()
>
> On this feature works CD-based dbs of Valentina.
>
> So it should work.
>
> --
> Best regards,
> Ruslan Zasukhin [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan@paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina .at. lists DO.T macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>

_______________________________________________
Valentina mailing list
Valentina@lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

 
©2003 Stan Busk
<-- Prior Message New Search Next Message -->