Hello,
I have a main form named 'Main'
With a button on it named 'Button'
On this form, I have also a Navigation Control named 'NavigationSubform'
With a
NavigationControl named 'NavigationControl'
2 NavigationButton named 'NavigationButton2' & 'NavigationButton3'
-
I have a SubForm named 'SubForm'
with on it a TextBox named 'TextBox'
-
Under 'NavigationButton2', is targeted the 'SubForm'
-
Under 'Button', I put the VBA code:
Private Sub Button_Click()
[Forms]![Main]![NavigationSubform].[Form]![SubForm]![TextBox].Value = "MyText"
End Sub
And I always have the same issue, Access can not find the field 'TextBox'
Someone can tell me what I am doing wrong with the path of my control 'TextBox' and how to refer it.
Thank you so much for your help.
Kind Regards,
Domivax