Hi,
Does anyone know how the return the sort-field of a recordset?
I use
I have try
but it is empty
is returing the complete command. I could do a at() and seek of the position of 'ORDER BY', and find it so, but I was wondering if it could be easyer
Thanks
Does anyone know how the return the sort-field of a recordset?
I use
oRs = CREATEOBJECT( "ADODB.Recordset" )
oRS:cursortype :=1
oRs:cursorlocation :=3
oRs:locktype := 3
oRs:open('select * FROM klanten ORDER BY naam',ADO_SQL_Connectionstring)I have try
msginfo(oRs:sort)but it is empty
msginfo(oRs:Source)is returing the complete command. I could do a at() and seek of the position of 'ORDER BY', and find it so, but I was wondering if it could be easyer
Thanks
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