Re: Display field only under condition

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: an (anonymous_at_discussions.microsoft.com)
Date: 06/23/04


Date: Wed, 23 Jun 2004 01:29:28 -0700

Exactly, Al!

Thanks for your replay and Help.

an

>-----Original Message-----
>Hi Anon:
>
>Seems to me like you should place on the form's OnCurrent
event something
>like:
>
>If [Parameter] = "C" Then
>[Y/N].Visible = True
>Else
>[Y/N].Visible = False
>End If
>
>That should do it...
>
>Regards,
>Al
>
>"an" <anonymous@discussions.microsoft.com> wrote in
message
>news:1f9ae01c45890$2c119060$a601280a@phx.gbl...
>> Hello!
>>
>> Situation:
>> I have a Table with fields "Parameter" and "Y/N" for
some
>> distinct situations of parameters.
>> Parameters example:
>> A, B or C.
>> In case of the parameter=C, there are two
possibilities: Y
>> or N.
>>
>> Question:
>> I would like display the field "Y/N", only
>> when "Parameter"=C, as well as the respective
explanation
>> label (on Form) to this case.
>>
>> In case "Parameter"=A or B, to hide field "Y/N" in Form
>> and respective auxiliary label.
>>
>> Is it possible in Access2K?
>>
>> Thanks in advance.
>> an
>
>
>.
>