[Gambas-user] Not an Object question

Ron Onstenk ronstk at ...239...
Thu Feb 21 04:38:56 CET 2008


On Wednesday 20 February 2008 21:01, Steven Lobbezoo wrote:
> Hi, 
> 
> I donnot get it (again ;-) )
> 
> I do :
>         IF Res.Fields[CFields[i]].Type = db.Date THEN
> 
> where Res is a valid result set and CFields[i] contains the name of the
> field. 
> If I select "Res.Fields[CFields[i]].Type" in the debugger I get a 9,
> wich is correct !
> When I run the program it stops on this line with : 'Not an Object'
> However, when i look into "Res.Fields[CFields[i]]" the object is there
> with all items filled corectly (Name, Type, ...)
> 
> What do i do wrong ?
> 
> Steven
> 
> 
>  
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 



More information about the User mailing list