D
Dan
Hi Ken:
Thank you but is still giving me this message:
Application can't find the field '|' referred to in your
expression
Thaks,
Dan
Thank you but is still giving me this message:
Application can't find the field '|' referred to in your
expression
Thaks,
Dan
..-----Original Message-----
If IsNull(DLookup("[UserID]", "[pswc]", _
"[UserID]='" & [UserID] & "'")) = False Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
--
Ken Snell
<MS ACCESS MVP>
Hi:
What would be the syntax for a Dlookup to find a name in a
table; if it finds it then open a form...this is not
working??
If (DLookup("[UserID]", "[pswc]", _
"[UserID]='" & [UserID] & "'")) Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
Thanks,
Dan
.