[Gambas-user] make Label background from Database field

Vassilis K vkan53 at ...2300...
Sat Oct 17 20:49:53 CEST 2009


I tested :

PRINT CStr(rsThesi!thesi)
PRINT CStr(rsThesi.Index)

Instead of change_bgcolor("Label" & rsThesi!thesi)"

and I got everything working fine !!!! 

I got 42 couples of numbers as it should be:
38
0
15
1
47
2
74
3
96
4
etc... up to 42 row !!
the first number was the correct rsThesi!thesi and the second number was the 
Index.
I controlled the data of MySQL from phpMyAdmin and it is the same!! (where 
elenchosAnax = 0 AND thesi <> 0)

AFter the print of the numbers as described above, the code stops and I get my 
well known message: 

"Result is not available"

at line

PRINT CStr(rsThesi!thesi)

Strange?





More information about the User mailing list