By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,098 Members | 1,922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,098 IT Pros & Developers. It's quick & easy.

Form check box & report data

P: n/a
I have a friend that asked me to help him with an access problem. I'm
not access savy.
The problem, he has captured data on a club members. He has a club
member report that members can select to view. He has captured data
that allows a user not to post their phone number or email address.
When creating the report he is not able to not list phone numbers &
email addresses for members that wish not to share them with all the
other members.
We have tried the following statement in the report.
IIF([Phone in Directory]="Yes",[Home phone])
It still prints all the phone numbers etc.

Version: Access 2000
All the data is captured in 1 table.
Thanks in advance for your help

G

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The check box field use a -1 value for "Yes" and a 0 value for "No" . Use
the following code:

iif([phone in directory]=-1,[Home Phone],null)

T Martin
"Gman" <gb******@comcast.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I have a friend that asked me to help him with an access problem. I'm
not access savy.
The problem, he has captured data on a club members. He has a club
member report that members can select to view. He has captured data
that allows a user not to post their phone number or email address.
When creating the report he is not able to not list phone numbers &
email addresses for members that wish not to share them with all the
other members.
We have tried the following statement in the report.
IIF([Phone in Directory]="Yes",[Home phone])
It still prints all the phone numbers etc.

Version: Access 2000
All the data is captured in 1 table.
Thanks in advance for your help

G

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.