My user name/i.d consist of this table:
UserID Username
1 Armand
2 Adam Septe.
It displays the logon user name on my logon form, using this
Code:
=[Forms]![frmLogon]![User]
Code:
SELECT tblUsers.UserID, tblUsers.Username FROM tblUsers;
I take this data and display it into a new form/table, in a column called Captured by using this code.
Code:
Private Sub Form_BeforeInsert(Cancel As Integer)
Me!CapturedBy = Forms!frmLogon!User
End Sub
It captures the User ID and not the User Name? I want the User Nme to be Captured.