Display field only under condition

A

an

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
 
A

Al Borges

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
 
A

an

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

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


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top