Good Day,
In my current form “ComponentInformation” I have a procedure called “Refresh” when I click the refresh button on the form it works perfectly.
In my second form “VendorInformation” I would like to call the “Refresh” procedure after updating the VendorID.
How do I call code that is in another form?
The following code does not work because it is looking for the code in the “VendorInformation” Form, but instead the code is in the “ComponentInformation” Form.
Private Sub VendorID_AfterUpdate()
Call Refresh_Click
End Sub
Regards
Theuns
In my current form “ComponentInformation” I have a procedure called “Refresh” when I click the refresh button on the form it works perfectly.
In my second form “VendorInformation” I would like to call the “Refresh” procedure after updating the VendorID.
How do I call code that is in another form?
The following code does not work because it is looking for the code in the “VendorInformation” Form, but instead the code is in the “ComponentInformation” Form.
Private Sub VendorID_AfterUpdate()
Call Refresh_Click
End Sub
Regards
Theuns