O
OD
in a form i would use docmd.openform and refer to the field, this works fine.
I don't
want to have to create a form just to get the field data.
DoCmd.OpenTable "Users", , acReadOnly
DoCmd.GoToControl "UserName"
DoCmd.FindRecord varUserName, acEntire, , acSearchAll, , acCurrent,
FindFirst
varUserName = [UserName] '??????????
DoCmd.Close acTable, "Users"
Thanks
OD
I don't
want to have to create a form just to get the field data.
DoCmd.OpenTable "Users", , acReadOnly
DoCmd.GoToControl "UserName"
DoCmd.FindRecord varUserName, acEntire, , acSearchAll, , acCurrent,
FindFirst
varUserName = [UserName] '??????????
DoCmd.Close acTable, "Users"
Thanks
OD