I've been tasked to add some new fields to an existing form in an old Access database for a design request Form and I've hit a bit of a snag!
Basically I've added a checkbox to indicate whether or not the customer has supplied their own media to include in an artwork design process. When the checkbox is clicked it reveals two dropdown boxes named "Supplied_Media_Dropdown" and "Media_Delivered_Method".
In the "Media_Delivered_Method" there are 4 options "DVD", "Email", "Hard Copy" and "Multiple Sources" and, depending on which option is selected, either or both of two different text boxes are displayed - "DVD_Serial" or "Email_Address2" are displayed.
Before a selection is made no text boxes are visible and the following states are triggered by the following selections:
The first part of the process (clicking the checkbox and displaying the two dropdowns) works perfectly and when I navigate through the records the dropdowns show or hide correctly on each record based on the checkbox status. However, the second part of the process is causing problems. Although the dropdown selection works perfectly on the current record that is being worked on, when I navigate through the records the textboxes don't display correctly and show the textbox correlating to the last updated record regardless of what is displayed (correctly) in the "Media_Delivered_Method".
I'm sure I'm missing something obvious so I've supplied the code I have at the moment and would greatly appreciate any (polite)suggestions on how to fix the textbox display issues
Basically I've added a checkbox to indicate whether or not the customer has supplied their own media to include in an artwork design process. When the checkbox is clicked it reveals two dropdown boxes named "Supplied_Media_Dropdown" and "Media_Delivered_Method".
In the "Media_Delivered_Method" there are 4 options "DVD", "Email", "Hard Copy" and "Multiple Sources" and, depending on which option is selected, either or both of two different text boxes are displayed - "DVD_Serial" or "Email_Address2" are displayed.
Before a selection is made no text boxes are visible and the following states are triggered by the following selections:
- When "DVD" is selected the "DVD_Serial" textbox is shown and the "Email_Address2" textbox is hidden.
- When "Email" is selected the "Email_Address2" is shown and "DVD_Serial" is hidden.
- When "Multiple Sources" is selected both textboxes are revealed
- When "Hard Copy" is selected both textboxes are hidden
The first part of the process (clicking the checkbox and displaying the two dropdowns) works perfectly and when I navigate through the records the dropdowns show or hide correctly on each record based on the checkbox status. However, the second part of the process is causing problems. Although the dropdown selection works perfectly on the current record that is being worked on, when I navigate through the records the textboxes don't display correctly and show the textbox correlating to the last updated record regardless of what is displayed (correctly) in the "Media_Delivered_Method".
I'm sure I'm missing something obvious so I've supplied the code I have at the moment and would greatly appreciate any (polite)suggestions on how to fix the textbox display issues

Code:
Private Sub Form_Current()
Me.Supplied_Media_Dropdown.Visible = Me.Supplied_media_Checkbox
Me.Media_Delivered_Method.Visible = Me.Supplied_media_Checkbox
End Sub
Private Sub Supplied_media_Checkbox_AfterUpdate()
If Me.Supplied_media_Checkbox.Value = True Then
Me.Supplied_Media_Dropdown.Visible = True
Me.Media_Delivered_Method.Visible = True
Else
Me.Supplied_Media_Dropdown.Visible = False
Me.Media_Delivered_Method.Visible = False
End If
End Sub
Private Sub Media_Delivered_Method_AfterUpdate()
If Me.Media_Delivered_Method = "DVD" Then
Me.DVD_Serial.Visible = True
Me.Email_Address2.Visible = False
ElseIf Me.Media_Delivered_Method = "Email" Then
Me.Email_Address2.Visible = True
Me.DVD_Serial.Visible = False
ElseIf Me.Media_Delivered_Method = "Multiple Sources" Then
Me.DVD_Serial.Visible = True
Me.Email_Address2.Visible = True
Else
Me.Email_Address2.Visible = False
Me.DVD_Serial.Visible = False
End If
End Sub