I have this code for oppening a form below and I need the from name to be a variable as the use can open the form from various other forms within the database.
I'm not sur how to make the form name a variable as the active form.Code:Private Sub Form_Load() Me.LoanNumberLookup = Forms![frmLoanDetail]![LoanID] End Sub
Thanks for your help.