SQL cursor returns a NilObjectException - V4RB -win

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Apr 21 01:54:02 CDT 2008


On 4/21/08 6:51 AM, "Chris McConnell" <chris at mc-data.com> wrote:

Hi Chris,

> This code returns a NilObjectException
> 
>  
> 
> Dim myquery as string
> 
> Dim mycur as Vcursor
> 
>  
> 
>   myquery = "SELECT * FROM CoUser "
> 
>   mycur = mDatabase.SQLSelect(myquery)  //execute the query
> 
>   
> 
> The api access to the database works so I know I am connected. Is there a
> setting needed for embedded server or Realbasic which I am missing which
> enables SQL to work?

I have only one gues:

    mDatabase is nil


Errors in the SQL string should return VEXception with some error code from
Valentina.  


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