Sam Summers
Registered User.
- Local time
- Today, 22:33
- Joined
- Sep 17, 2001
- Messages
- 939
Hi guys,
I am baffled once again and tried what i think is everything.
I have a form called 'MainForm' and on it i have an unbound textbox 'NewRA'.
All i am trying to do is after the update of a textbox on the form 'EnterOperationActivity', is to pass the text/Value to the textbox 'NewRa' on the MainForm.
I have tried this:-
40 Forms!EnterOperationActivity!OperationActivitySubform.Form!RiskAssessmentID.SetFocus
45 Forms!MainForm.NewRA.SetFocus
50 Forms!MainForm.NewRA.Value = Forms!EnterOperationActivity!OperationActivitySubform.Form!RiskAssessmentID
60 Forms!EnterOperationActivity!OperationActivitySubform.Form!OperationActivity.SetFocus
And this:-
Private Sub RiskAssessmentID_Dirty(Cancel As Integer)
10 Forms!MainForm.NewRA.SetFocus
20 Forms!MainForm.NewRA.Text = Me.RiskAssessmentID
30 Forms!EnterOperationActivity!OperationActivitySubform.Form!OperationActivity.SetFocus
End Sub
And also this directly into the Control Source of the 'NewRA' textbox itself:-
=[Forms]![EnterOperationActivity]![OperationActivitySubform].[Form]![RiskAssessmentID]
--------------------------------------------------------------------------------
I've tried changing from .Text to .Value and leaving it blank but all i have got in 'NewRA' on the 'MainForm' is blank or #Name?
Any ideas?
Many thanks in advance
Sam
I am baffled once again and tried what i think is everything.
I have a form called 'MainForm' and on it i have an unbound textbox 'NewRA'.
All i am trying to do is after the update of a textbox on the form 'EnterOperationActivity', is to pass the text/Value to the textbox 'NewRa' on the MainForm.
I have tried this:-
40 Forms!EnterOperationActivity!OperationActivitySubform.Form!RiskAssessmentID.SetFocus
45 Forms!MainForm.NewRA.SetFocus
50 Forms!MainForm.NewRA.Value = Forms!EnterOperationActivity!OperationActivitySubform.Form!RiskAssessmentID
60 Forms!EnterOperationActivity!OperationActivitySubform.Form!OperationActivity.SetFocus
And this:-
Private Sub RiskAssessmentID_Dirty(Cancel As Integer)
10 Forms!MainForm.NewRA.SetFocus
20 Forms!MainForm.NewRA.Text = Me.RiskAssessmentID
30 Forms!EnterOperationActivity!OperationActivitySubform.Form!OperationActivity.SetFocus
End Sub
And also this directly into the Control Source of the 'NewRA' textbox itself:-
=[Forms]![EnterOperationActivity]![OperationActivitySubform].[Form]![RiskAssessmentID]
--------------------------------------------------------------------------------
I've tried changing from .Text to .Value and leaving it blank but all i have got in 'NewRA' on the 'MainForm' is blank or #Name?
Any ideas?
Many thanks in advance
Sam