In MS ACCESS I have a form with a combo box. Depending on the value that is chosen by the user, the form shows an other control (field). Moving between the records, the form does not shows the control that belongs to the chosen value in the combo box. The only way the control is showing, is on the "on click" event of the combo box.
I have tried several alternatives approaches, using a next-record-button and force the form to repaint. I have tried the current form event with this code (works on the click event of the combo box):
If Me.TypeReport.Value = "Bijlage" Then
Me.knpBrowseBijlage.Visible = True
Me.FullPathName.Visible = True
If Me.knpBrowseBijlage.Visible = True Then
Me.FullPathName.Value = ""
Me.knpBrowseBijlage.Visible = False
Me.FullPathName.Visible = False
Although the event occurs (I placed a msgbox in the code) the form does not shows "Me.knpBrowseBijlage" nor "Me.FullPathName".
Using the combo box:
When entering the record using the next of previous record button:
Using the next or previous record button the form should give me also the two other controls when the combo box contains "Bijlage".
I'm not new to Access but this seems to me as a beginners problem....