I have fond the solution as below for displaying query results in the textbox.
created query name as "comm"
Code:
SELECT Sum([FYE 2013].[Jan 2013]) AS commu
FROM [FYE 2013]
WHERE [FYE 2013].[site] =IIf(Forms!Form1![site]="All","'*'",Forms!Form1![site]);
then applied Dsum function in Control source property of textbox
Code:
=DSum("commu","comm")
Now I am facing problem if combobox site value is "All" then it is showing blank, as there is no record mating with "All", but i would like to display all records sum in the textbox, if combobox site value = "All"
Any help highly appreciated....
Regards,
Ganesh