Code:
Dim txtbox As TextBox
Set txtbox = Forms(Me.Text55).Controls(Me.Text0)
txtbox = Me.Text8
missing after update code
DoCmd.Close
I tried:
Code:
Call txtbox_AfterUpdate
Call txtbox.AfterUpdate
txtbox.AfterUpdate
txtbox_AfterUpdate
Application.Run "Form_" & Me.Text55 & "." & Me.Text0 & "_AfterUpdate"
Application.Run "Form_" & Me.Text55 & "." & Me.Text0 & "_AfterUpdate()"
I have 3 form where on some textbox it open a form for auto fill the selected field.
Every thing work good but I have AfterUpdate event on the starting fields that is not fired when it is filled from the other form code.
In the immediate window none of the tries works but only the result of the "Form_" & Me.Text55 & "." & Me.Text0 & "_AfterUpdate" like
Code:
Form_MyForm.Text21_AfterUpdate