PC Review


Reply
Thread Tools Rate Thread

Customize Yes/no fields to "Normal/Abnormal"

 
 
=?Utf-8?B?UCBOYWhzZXI=?=
Guest
Posts: n/a
 
      16th Oct 2006
I know there must be a simple way to have a yes/no check box that enters the
data as custom text such as "normal" / "abnormal". The issue comes up when I
report out the data and want "Normal" or "abnormal" to show up on the report
and not yes or no. any suggestions.

PN
 
Reply With Quote
 
 
 
 
Van T. Dinh
Guest
Posts: n/a
 
      16th Oct 2006
You can convert Yes/No (underneath they are -1 / 0) to Normal / Abnormal
either in the Query being used for the Report or in the Control on the
Report itself.

For example, you can define a calculated Field in your Query:

Norm_Abnorm: IIf([YesNoField], "Normal", "Abnormal")

You can use the same IIf expression in the Report.

And I am sure there are other methods as well.

--
HTH
Van T. Dinh
MVP (Access)



"P Nahser" <(E-Mail Removed)> wrote in message
news:450C0484-6512-4D78-BA5C-(E-Mail Removed)...
>I know there must be a simple way to have a yes/no check box that enters
>the
> data as custom text such as "normal" / "abnormal". The issue comes up
> when I
> report out the data and want "Normal" or "abnormal" to show up on the
> report
> and not yes or no. any suggestions.
>
> PN



 
Reply With Quote
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      16th Oct 2006
In your query for the report put an IIF statement.

Your Field Label: IIF([YourField] = -1, "Normal", "Abnormal")


"P Nahser" wrote:

> I know there must be a simple way to have a yes/no check box that enters the
> data as custom text such as "normal" / "abnormal". The issue comes up when I
> report out the data and want "Normal" or "abnormal" to show up on the report
> and not yes or no. any suggestions.
>
> PN

 
Reply With Quote
 
JK
Guest
Posts: n/a
 
      16th Oct 2006
Create a calculated field in the report and define the source as:

=IIf([YourCkBoxField]=True,"Normal","Abnormal)

Regards/JK


"P Nahser" <(E-Mail Removed)> wrote in message
news:450C0484-6512-4D78-BA5C-(E-Mail Removed)...
>I know there must be a simple way to have a yes/no check box that enters
>the
> data as custom text such as "normal" / "abnormal". The issue comes up
> when I
> report out the data and want "Normal" or "abnormal" to show up on the
> report
> and not yes or no. any suggestions.
>
> PN



 
Reply With Quote
 
=?Utf-8?B?RGVubmlz?=
Guest
Posts: n/a
 
      16th Oct 2006
Put a text box on your report and set the control source property to
=IIf([CheckBoxName]=True,"Normal","Abnormal")

"P Nahser" wrote:

> I know there must be a simple way to have a yes/no check box that enters the
> data as custom text such as "normal" / "abnormal". The issue comes up when I
> report out the data and want "Normal" or "abnormal" to show up on the report
> and not yes or no. any suggestions.
>
> PN

 
Reply With Quote
 
Rick Brandt
Guest
Posts: n/a
 
      16th Oct 2006
P Nahser wrote:
> I know there must be a simple way to have a yes/no check box that
> enters the data as custom text such as "normal" / "abnormal". The
> issue comes up when I report out the data and want "Normal" or
> "abnormal" to show up on the report and not yes or no. any
> suggestions.
>
> PN


Use a format property of...

;"abnormal";"normal"

....or...

;"normal";"abnormal"

....depending on which word you want for True. You can use that sort of
format property to substitute any two words in a Yesy/No field.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I customize fields in a "desin form" shellnbreeze Microsoft Outlook Contacts 2 22nd Nov 2009 10:12 PM
Real Player Bug - error message "Fail to load filezip://"YOUR FILE PATH\normal?file=normal.xmb" CES Windows XP General 0 8th Oct 2004 02:29 AM
Customize Current View > Filter > Advanced > Feild="Location", Condition="is not empty" =?Utf-8?B?SnVzdGlu?= Microsoft Outlook Calendar 5 24th Mar 2004 03:08 AM
User messed with "Customize Current View" fields, now cannot access Contacts bc Microsoft Outlook Contacts 1 11th Feb 2004 04:05 PM
User messed with "Customize Current View" fields, now cannot access Contacts bc Microsoft Outlook 1 11th Feb 2004 04:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:10 AM.