Syntax error on DLookup-function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The following DLookup-function only returns a syntax error message in the
controlsource of a textbox in my report:
=DLookUp("[clientname]","[clientregister]","[clientID]=1")

In the immediate window in VB-code, the function gives the expected result,
but not in the controlsource.

What do I do wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top