Instant Invisibility... (1 Viewer)

Randix

Registered User.
Local time
Today, 01:44
Joined
Mar 24, 2001
Messages
56
If I have a form and want certain fields to be invisible in the event certain fields meet certain criteria, where do I place the criteria?
 

AlanS

Registered User.
Local time
Yesterday, 20:44
Joined
Mar 23, 2001
Messages
292
It depends on the actual events that you want to respond to. To respond to changes in the value of a particular field, put the code (or the call to a Sub) in that field's AfterUpdate event procedure. To respond to the state of each record as it is displayed, use the form's OnCurrent event. If you're dealing with multiple events and/or fields, I'd set up one Sub to do the entire job, and simply call it from multiple locations.
 

Users who are viewing this thread

Top Bottom