Hi Monte,
If it's just those values then why not using the IIF function
Column A Column B Column C
"NR" no 1
"NR" yes 1
"Yes" yes 2
"No" yes 3
Example:
=IIF([Column B] = No, "NR", IIF([Column C] = 1, "NR", IIF([Column C] = 2,
"Yes", "No")))
I hope this helps! If you have additional questions on this topic, please
respond back to this posting.
Regards,
Eric Butts
Microsoft Access Support
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<
http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <
http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."
--------------------
| From: "Monte Grant" <
[email protected]>
| Subject: Listbox criteria
| Date: Wed, 18 Feb 2004 10:11:14 -0600
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.access.formscoding
| NNTP-Posting-Host: c-24-0-142-89.client.comcast.net 24.0.142.89
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.access.formscoding:221032
| X-Tomcat-NG: microsoft.public.access.formscoding
|
| In a listbox, I'd like a Column A record to show as below when Columns B
& C
| show these values:
|
|
| Column A Column B Column C
|
| "NR" no 1
| "NR" yes 1
| "Yes" yes 2
| "No" yes 3
|
|
| There are other permutations that would not apply. How do I write this
| statement in a query?
|
| Can I get the listbox to show checkbox format instead of yes/no for Column
| B?
|
|
|