0

I have a textbox on my report and I have a query which always returns a single cell:

SELECT CustomMessage FROM OrderSheetSettings;

My aim is to display the single cell that it returns and place it into the textbox through the expression builder.

What I have/tried so far:

[qryCustomMessage]![CustomMessage]
[qryCustomMessage]![CustomMessage].Value

But this returns '#Name' or '#Error'

Any help on this would be great.

Thanks

1 Answers1

0
=Dlookup("CustomMessage","OrderSheetSettings")
4dmonster
  • 3,012
  • 1
  • 14
  • 24