Hi,
Does anyone know how to put a filter on a recordset with a compare between 2 fields?
Those 2 filters are working fine
but when I do
I get an error
Just for testing, i tried oRs1:="0 > stock", and also have an error. Is it only possible to fut a fieldname a the left-site of a comparison?
Does anyone know how to put a filter on a recordset with a compare between 2 fields?
Those 2 filters are working fine
oRs1:filter:="minstock < 0"oRs1:filter:="stock < 0"but when I do
oRs1:filter:="stock < minstock"I get an error
Just for testing, i tried oRs1:="0 > stock", and also have an error. Is it only possible to fut a fieldname a the left-site of a comparison?
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