realbasic-nug
[Top] [All Lists]

Re: Trying to use a data base

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Trying to use a data base
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Sat, 30 Dec 2006 10:17:39 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <p0623090dc1bbf037d246 at 192 dot 168 dot 0 dot 32> <15e00d820612300430l6ff64be9u8b6e9ed189abc657 at mail dot gmail dot com>

On Dec 30, 2006, at 5:30 AM, Peter Bozek wrote:


Does this mean that no data was found? How can I get the
contents of the record retrived with the SQLSelect

If there would be no data found, SelectedRecords wwould be nil. look
at the RecordCount property.

No.
RecordCount should be 0 but may not be accurate when you do have records
If the recordset is empty EOF and BOF should both be true. At the very least EOF should be true saying you are already at the end of the records returned.
You only get a NIL recordset if there is a sql error

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>