My form is based on a table of grant information. It has a page for the grant application (pgeApp) and a page for the Grant award (pgeAward). I would like to make the grant award page visible only when the application status (on pgeApp) is set to "Awarded". In the AfterUpdate event for the [Application status], I check to see if the status is "Awarded" and if it is, I set the visible property of pgeAward to true, and everything works fine. When the form opens however, I need to initialize this visibiliy for the pgeAward. I am using the same logic in the Open (or Load) event, but it doesn't work. The code I use is:
Can you tell me what I'm doing wrong, or if there is a better way to do this.
Thanks,
Gerry Goldberg
Code:
Me![pgeAward].Visible = Me![cboApplicationStatus].Column(1) = "Awarded"
Thanks,
Gerry Goldberg
Comment