Hello,
can someone please give me an example, how i can get the name of an field in mysql by using the libmysql.dll? Connection, Query etc. works and now i need the real fieldname of an column.
Thanks Rico
libmysql.dll - fieldname of column
already, i have used the example (http://www.purearea.net/pb/CodeArchiv/D ... Example.pb), but can't find the way in this example how i can get the fieldname.
Other ideas?
Other ideas?
Hi,
Change this code:
For this one:
Regards,
Manolo
Change this code:
Code: Select all
For i=1 To rowsNum
*mysqlRow=CallFunction(#libmysql,"mysql_fetch_row",*mysqlResult)
*mysqlLen=CallFunction(#libmysql,"mysql_fetch_lengths",*mysqlResult)
Code: Select all
Dim FieldName.s(rowsNum)
For i=1 To rowsNum
*mysqlRow=CallFunction(#libmysql,"mysql_fetch_row",*mysqlResult)
*mysqlLen=CallFunction(#libmysql,"mysql_fetch_lengths",*mysqlResult)
FieldName(i)=CallFunction(#libmysql,"mysql_field_name",*mysqlResult)
Debug FieldName(i)
Manolo