[Gambas-user] Coding problem / bug ?
Steven Lobbezoo
steven at ...1652...
Fri May 11 23:35:24 CEST 2007
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
More information about the User
mailing list