[Gambas-user] Not an Object question

Steven Lobbezoo steven at ...1652...
Wed Feb 20 21:01:57 CET 2008


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


 






More information about the User mailing list