Hi all
I have a query which works very well and displays the single-value result in a datafield display. What I am trying to do is to display this result in a textbox instead, located on the form.
The SQL that I have is:
SELECT Count(Table1.[Date Received]) AS [Count]
FROM Table1
WHERE (((Table1.[Date Received])>=[Select DateFrom] And (Table1.[Date Received])<=[Select Date to]));
I am trying to display the result in textbox80, located on Form2.
Can anybody amend the above to allow this? I've also tried using the DLookup in the textbox80 Control Source, however, I keep getting an error result.
Any suggestions would be appreciated
Many thanks!!