[V4RB] Problem adding records

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Nov 28 22:29:27 CST 2003


on 11/28/03 9:19 PM, Stan Busk at maxprog at mac.com wrote:

> 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.

Hi Stan,

I have check, and yes, AddRecord() simply returns ZERO,
As sign of failure.

No error code.

ZERO is enough to see that record was not added.

I think I must add db.ReadOnly property to V4RB, V4MD...


-- 
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