Im writing some code and need to update two labels on a form as per 2 labels on a previous form (still open).
The code im using is:
Expand|Select|Wrap|Line Numbers
- Private Sub Form_Load()
- lblFirst.Caption = Forms!frmMain!lblFirst2.Caption
- lblLast.Caption = Forms!frmMain!lblLast2.Caption
- End Sub