How to set conditions in IBCquery editor
Posted: Sun 26 Oct 2014 02:48
I'm trying to set a condition in the IBCQuery editor.
Using latest version of IBDAC with Delphi XE2
In the conditions tab I do the following:-
1. Add a Condition Name eg: TaxStatus
2. Add a Value TAXABLE=0
3. Select the condition and check Enabled
The select statement for testing purposes is: Select * from VU_PURCHASERECEIPT
Still in the IBCQuery editor press Execute then open the data editor.
The selected and enabled condition entered above is ignored and all records with TAXABLE column = 0 and = 1 are displayed.
How should this be set up?
Using latest version of IBDAC with Delphi XE2
In the conditions tab I do the following:-
1. Add a Condition Name eg: TaxStatus
2. Add a Value TAXABLE=0
3. Select the condition and check Enabled
The select statement for testing purposes is: Select * from VU_PURCHASERECEIPT
Still in the IBCQuery editor press Execute then open the data editor.
The selected and enabled condition entered above is ignored and all records with TAXABLE column = 0 and = 1 are displayed.
How should this be set up?