Hi
I want to add a range to a query by code.
It is a range on a date field (ToDate) on the PriceDiscTable.
The query value should be less or equal the given date (from a dialog, which I already stored in a local variable)
How can I do this. Adding a range to the FromDate with greater or equal worked fine but the less or equal is not good.