Hi all,

I have such a problem I am trying to assing DLOOKUP function to textbox in report in access:

VB Code:
  1. =DLookUp("nick";"users";"id_user=" & number)

where number is global variable defined as long

unfortunatelly it doesn't work it returns #error.

Please help.
regards,
sweet_dreams