Check box using iif statement (1 Viewer)

jedder18

Just Livin the Dream!
Local time
Today, 00:40
Joined
Mar 28, 2012
Messages
135
Access 2007
Win 2007

=IIf([max%]>0.7,Yes,No)


expression to populate a check box on a subform

When I use this and run...the yes works correctly
the No wipes out the records' other data(i.e. staffid, name of training) from the query max% is running in.

How do I keep this showing and have the checkbox unchecked?

TIA.

Jennifer
 

llkhoutx

Registered User.
Local time
Today, 02:40
Joined
Feb 26, 2001
Messages
4,018
Try using "True,False," instead of "Yes, No."
 

mahenkj2

Registered User.
Local time
Today, 13:10
Joined
Apr 20, 2012
Messages
459
Can you show how it clears the other data?
 

llkhoutx

Registered User.
Local time
Today, 02:40
Joined
Feb 26, 2001
Messages
4,018
I don't understand your most recent question.
 

mahenkj2

Registered User.
Local time
Today, 13:10
Joined
Apr 20, 2012
Messages
459
Sorry Dear llkhoutx, I wanted to know from Jedder18 about how other fields wipes out with example to understand the problem.

the No wipes out the records' other data(i.e. staffid, name of training) from the query max% is running in.
 

jedder18

Just Livin the Dream!
Local time
Today, 00:40
Joined
Mar 28, 2012
Messages
135
Operator error folks...
sorry, I figured it out...
had other criteria setup in query that needed to be deleted.
 

Users who are viewing this thread

Top Bottom