[Gambas-user] gb.TEXT

Benoit Minisini gambas at ...1...
Mon Feb 7 12:10:14 CET 2005


On Saturday 05 February 2005 07:40, Eric Damron wrote:
> I need a text field in my MySQL database so I used:
>
> hTable.Fields.Add("description", gb.Text)
>
> When I look at the database, however, I see not a TEXT field but a
> TinyInt field!
>
> How do I get a text field??
>
> Thanks
>
>

gb.Text is not a datatype constant, and has the same value as gb.boolean, so 
you get a boolean field, which is implemented as a TinyInt by the mysql 
driver!

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list