Nil Cursor

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jan 10 21:12:26 CST 2005


On 1/10/05 7:37 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,

> I have a very puzzling problem with a cursor, which is very stubbornly
> nil. The situation is the following:
> 
> - I use Valentina to import mails into a database.
> - For each imported mailbox I need an empty cursor with the following
> line
> GlobalPrefs.theArchive.theCursor =
> GlobalPrefs.theArchive.theDatabase.SqlSelect("select * from message
> where mainsubject = 'lsdkfjlsdk'" , kV_Server, kV_ReadWrite, kV_Random)

Why you say that this is empty cursor?

You select some records as I see.

> - For a few users this fails for an empty database, the cursor remains
> nil and no records are written to the database at all. I do this during
> development dozens of times a day. Why doesn't this work for all users?

You mean that SqlSelect() returns sometimes NIL ?

Any error code on this ?


> Am I stupid or am I doing something wrong?
> 
> System: RB 5.5.4, V4RB 1.11, Mac OS 10.3 various

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