[V4RB] Problem adding records

Michael Krugman admin at ktinet.net
Fri Nov 28 08:15:48 CST 2003


Stan:

I had the exact same problem and it turned out that permissions need to 
be set.  The permission defaults to Read Only.  Download the newest 
docs and you'll find it in there.

Mike
On Nov 27, 2003, at 2:51 PM, Stan Busk wrote:

> Hi,
>
> I have a Database that doesn't create records when I ask it to do so. 
> I mean, I call Addrecord, then flush, no error occurs but 0 record is 
> added and getRecID returns 0 as well. My app is however able to add 
> records to other databases fine. Only a specific database seems to be 
> locked. Exporting and importing a XML dump fixes the problem however I 
> just would like to know the reason for this behavior. The only 
> difference with this database and the others is that it has been sent 
> by e-mail as an attachment without being previously compressed. 
> Anyway, in the case the file is corrupted, can it cause this kind of 
> behavior? I mean Valentina never returns an error when trying to 
> create a record? Could I do something to check if a database is 
> corrupted or not? vdb.SQLExecute("DIAGNOSE DATABASE") returns no 
> error...
>
> Thanks,
> ~/Stan
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>



More information about the Valentina mailing list