I think you are asking for this... This is the case when we use
wxSQLite3.

wxSQLite3ResultSet result = samp.ExecuteQuery(wxT("select name,age from
test"));

  while (result.NextRow())
  {
   cout << (const char*)(result.GetString(0).mb_str()) << result.GetInt
(1)<< endl;
  }

On Fri, 2006-10-06 at 17:07 +0530, Vivek R wrote:
> Hi List,
>   If I use sqlite3_exec to query a database,
> How can I know that the results in the data base got over. For example If
> I am expecting a 10 results in some for loop and actually there are only
> five results , How can I get a notification or return value that the
> results completed or Is there any way I can get SQLITE_DONE through
> sqlite3_Exec.  What return value I will get If I query an empty table.
> 
> 
> Thanks and Regards,
>   Vivek R


______________________________________
Scanned and protected by Email scanner

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to