View Full Version : Result of summary query into textbox


accesscomthomas
08-05-2004, 12:50 PM
hello, I have created a summary query to calculate a "total" , the query is giving only ONE number (i.e. a table with only 1 row and 1 column) ....
but , HOW could I get that value and put it into a textbox ???? :confused:

Jon K
08-05-2004, 06:45 PM
You can use the DLookUp() function to look up the value.


Put this in the Control Source of the text box (using the correct field name and query name):-

=DLookUp("[field name]","[query name]")
.

accesscomthomas
08-06-2004, 08:52 AM
yes, great idea

thanks :)