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] '??????????
varPassword = [Password] '???????????
DoCmd.Close acTable, "Users"
I know about dlookup() but it only returns the value of one field. I would
like
to do this like I do in a form.
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] '??????????
varPassword = [Password] '???????????
DoCmd.Close acTable, "Users"
I know about dlookup() but it only returns the value of one field. I would
like
to do this like I do in a form.
Thanks
OD