How to: Make a field appear when combo option is chosen...

A

Access rookie

Hello,
I have an employee status field that offers two choices: Active and
inactive. When the entry person chooses 'inactive,' I would like my Date of
Termination field to appear. I know it has something to do with an event, but
I'm not sure how to do it!

Thanks,

John.
 
D

Douglas J. Steele

In the status field's AfterUpdate event, check what its value is. If it's
inactive, set the Date of Termination field to visible.
 
R

Rick B

In the 'On change' event for the status field, put an event procedure
like...



Private Sub Status_Change()
TerminationDate=Date()
End Sub



Hope that helps,

Rick B
 

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