J
JHB
I have a table which contains active and inactive clients, with the
inactive clients marked with a checkbox saying "Inactive".
I have a set of parameters in a parms file, one of which tells the
system to select either ALL clients or just those who DO NOT have a
check mark in the Inactive box. If inactive clients are NOT wanted,
the the parameter box is checked.
I have an append query which is selecting client records, and one of
the criteria is whether the client is active or inactive. I have a set
of criteria for the active/inactive box that look as follows:
IIf([Parms]![DoNOTShowInactive:]=-1,No,-1 Or 0)
They work fine for selecting JUST ACTIVE, but the alternate action
JUST selects incative when I want both active and inactive. Put
another way, if the parms box is NOT checked, I want this test to be
ignored!
I have played with this for a while and know I am making a simple
mistake -- but cant see what it is.
Help??
Thanks
inactive clients marked with a checkbox saying "Inactive".
I have a set of parameters in a parms file, one of which tells the
system to select either ALL clients or just those who DO NOT have a
check mark in the Inactive box. If inactive clients are NOT wanted,
the the parameter box is checked.
I have an append query which is selecting client records, and one of
the criteria is whether the client is active or inactive. I have a set
of criteria for the active/inactive box that look as follows:
IIf([Parms]![DoNOTShowInactive:]=-1,No,-1 Or 0)
They work fine for selecting JUST ACTIVE, but the alternate action
JUST selects incative when I want both active and inactive. Put
another way, if the parms box is NOT checked, I want this test to be
ignored!
I have played with this for a while and know I am making a simple
mistake -- but cant see what it is.
Help??
Thanks