Hi,
I have a table 'btw' with fields 'ID' in first position and 'BTW' in second
When I run a query like
I can read the data of the field 'BTW' with
But when I use
? oQry:FieldGet(1) always return the text 'BTW' instead of the content of that field
How can I read the data of the field 'BTW' if I only want query that field
Thanks,
Marc
I have a table 'btw' with fields 'ID' in first position and 'BTW' in second
When I run a query like
oQry = query('SELECT * FROM btw)
I can read the data of the field 'BTW' with
   oQry:GoTop()
   DO WHILE !oQry:eof()
      ? oQry:FieldGet(2)
     oQry:Skip(1)
   ENDDOBut when I use
oQry = query('SELECT "BTW" FROM btw)
? oQry:FieldGet(1) always return the text 'BTW' instead of the content of that field
How can I read the data of the field 'BTW' if I only want query that field
Thanks,
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite