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