[Gambas-user] Coding problem / bug ?

Steven Lobbezoo steven at ...1652...
Sat May 12 13:13:24 CEST 2007


1.9.49 downloaded for 2 days from the trunk
Steven


Le samedi 12 mai 2007 01:41, Benoit Minisini a écrit :
> On vendredi 11 mai 2007, Steven Lobbezoo wrote:
> > Hi,
> >
> > I do the following :
> >   Tmp3 = Mid$(Tag[1], 1, Len(Tag[1]) - 2)
> >   IF Tres.Fields[Tmp3].Type = db.Blob THEN ' we have one !
> >       Tmp2 = Tres[Tmp3]
> >
> > On the IF statement I get an error :
> > 	Unknown field : file_name01
> >
> > When I look into the vars I get :
> > 	Tag[1] : file_name01
> > 	TMP3 : file_name
> > Which exactly what I want.
> > If look into :  Tres.Fields[Tmp3].Type
> > I get 9 <- exactly correct !
> >
> > So all is in order Tres (Result) is there, tyhe field is there, the vars
> > are filled ... But still this error. As if Gambas uses Tag[1] where i
> > write Tmp3 in the IF statement.
> >
> > Thanks,
> > Steven
>
> Which version of Gambas do you use?




More information about the User mailing list