[Gambas-user] Comments in MySQL problem

Gianluigi bagonergi at gmail.com
Sat Feb 27 18:09:16 CET 2021


Il giorno sab 27 feb 2021 alle ore 18:02 Dag Jarle Nerland Johansen -
Gambas <gambas at cd-bahia.com> ha scritto:

> Hi,
> the comments I get with Gambas does not correspondence with the comments
> in the MySQL table.
> Doing this in Gambas:
>
> *   SQL="SHOW FULL COLUMNS FROM gentbl*
> *" **  data = ma.$Con.Exec(SQL)*
>
> *  For i = 0 To data.Count - 1*
> *      Print data!Field, data!Comment*
>
> *      data.MoveNext **  Next*
>
> gives another result than if I call
> SHOW FULL COLUMNS FROM gentbl
> in PHPMyAdmin on the server (correctly on the server)
>
> Some comments missing, some even on the wrong place.
> Grateful for any help. (As always try on my own too).
> Dag
>

Maybe I'm talking nonsense, but there is no missing data.MoveFirst before
the For loop ?

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210227/9f2f25cf/attachment.htm>


More information about the User mailing list