N
Nozza
I want to add an text box or label which will display the number of
sales an agent has made on the agent form
I have named the form frmAgent as it is based on the table tblAgent
which is used to maintain agent details.
I have written a query named qryAgentSalesCount which does a count of
the sales based on the AgentID.
The query works and returns the right results when I run it. If I view
a different agent on frmAgent, and re-run the query, the correct sales
count is displayed in the re-run query.
All I want to do is display this info in a text box on the form - and
that's where I am stuck.
I have tried adding an unbound text box but I don't know where to tell
it to read the value from a query! I have tried setting a default
value to be the text box, but no luck there.
Am I trying to do it the wrong way?
Many thanks
Noz
sales an agent has made on the agent form
I have named the form frmAgent as it is based on the table tblAgent
which is used to maintain agent details.
I have written a query named qryAgentSalesCount which does a count of
the sales based on the AgentID.
The query works and returns the right results when I run it. If I view
a different agent on frmAgent, and re-run the query, the correct sales
count is displayed in the re-run query.
All I want to do is display this info in a text box on the form - and
that's where I am stuck.
I have tried adding an unbound text box but I don't know where to tell
it to read the value from a query! I have tried setting a default
value to be the text box, but no luck there.
Am I trying to do it the wrong way?
Many thanks
Noz