File error
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Nov 26 02:08:15 CST 2007
On 25/11/07 11:39 PM, "jda" <jda at his.com> wrote:
>>> This works well. But when I then ultimately close that window
>>> Valentina throws an exception on this line:
>>>
>>> myDatabase.flush
>>>
>>> The error is -38, file not open.
>>>
>>> But in the RB debugger myDatabase is show with isOpen = true.
>>>
>>> Do you have any idea what is going on?
>>
>> It is not clear AFTER WHAT it starts say -38 ???
>
>
> Hi Ruslan,
>
> I just update a field before calling the db flush -> error -38.
>
> I checked the log (I logged EVDebugLevel.kLogFunctions) and here is
> what was there:
>
> Database_SqlSelect_1...
> return object = 293799008
>
> return object = 293799008
>
> Cursor_GetRecordCount...
> return res = 1
>
> Cursor_GetFieldByName...
> return object = 293927568
>
> Field_SetString...
> return
>
> Cursor_UpdateRecord...
> return
>
> Database_Flush...
>
>
> All I'm doing is creating a folderitem, seeing that the file is not
> writeable, and closing the folderItem. That shouldn't affect the db
> (and you can see from the log it's not). But the -38 error is thrown
> when I try to flush the db. I don't understand this at all...
Yes odd.
Do you kill folder item?
fi = NIL
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list