Display query value on a form

mveijndh

Registered User.
Local time
Today, 01:24
Joined
Dec 17, 2011
Messages
113
I've created two query's generating the total order value and total invoice value for a year. The query is fine and generates the correct value. Now I want to display these values on a dashboard providing me an overview of my year to date results, but the values are not displayed but an error message is displayed #Name
Data Source=[queDashOrderSum]![TotalOrderYear].[Value]
Data Source =[queDashInvoiceSum]![TotalInvoiceYear].[Value]
 
use Dlookup() function as your controlsource:

=Dlookup("TotalOrderYear","queDashOrderSum")
=Dlookup("TotalInvoiceYear","queDashInvoiceSum")
 

Users who are viewing this thread

Back
Top Bottom