on 11/28/03 9:19 PM, Stan Busk at maxprog .AT. mac .DO.T 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@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
©2003 Ruslan Zasukhin |