Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record Selection

Status
Not open for further replies.

Shannon2008

Technical User
May 28, 2008
17
CA
I am trying to select records based on the following formula:

IF {COM_EMPLOYEE_SYS_ADMIN.TAX_PROVINCE}="AB" THEN
IF{COM_EMPLOYEE_SYS_ADMIN.PAY_RATE}<10.00 THEN
IF {COM_EMPLOYEE_SYS_ADMIN.TAX_PROVINCE}="NS" THEN
{COM_EMPLOYEE_SYS_ADMIN.PAY_RATE}<9.00

The formula does not contain any errors, however it is not returning any records, but I know they exist. I think I am missing a step.


Any help is greatly appreciated.
Thanks.
SL
 
You probably need this
(
(
{COM_EMPLOYEE_SYS_ADMIN.TAX_PROVINCE}="AB" and
{COM_EMPLOYEE_SYS_ADMIN.PAY_RATE}<10.00
)
or
(
{COM_EMPLOYEE_SYS_ADMIN.TAX_PROVINCE}="NS" AND
{COM_EMPLOYEE_SYS_ADMIN.PAY_RATE}<9.00
)
)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top