Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please Help

Status
Not open for further replies.

NewToo

Technical User
Jun 11, 2001
136
Hello I'm new at this.

I'm getting a error massage that stating that my mdb. path is invalid. i know that the path going to the right place. any ideas?


stDocName = IsNull(DLookuk("[psswrd]", "[usr_tbl]", "usrnme='" & stdocusr & "'"))

 
Your expression results in 0 or -1

Example: IsNull("Whatever value") returns 0 because IsNull function is False
IsNull(FieldWhoseValueIsNull) returns -1 because IsNull function is true.

So your path is evaluated as 0 or -1 instead of "C:\Path\FileName"

Regards,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top