R
Rod
How can I write the result of dcount using tblCandidates to tblStatistics?
Ofer said:In that case why do you want to save the data in a new table, it mean that
you will need to maintain it every day, if not more often.
Create a query to return all the data you need and display the count per
day, every time you will run the query, the data will be current
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
That will list the count of calls per day
Rod said:I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
Ofer said:In that case why do you want to save the data in a new table, it mean that
you will need to maintain it every day, if not more often.
Create a query to return all the data you need and display the count per
day, every time you will run the query, the data will be current
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
That will list the count of calls per day
Rod said:I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
Rod said:Sorry, I have not created a query which looks like this; how would this look
if I just added your idea to my qCalling? Would I past this in the
eexpression builder?
Ofer said:In that case why do you want to save the data in a new table, it mean that
you will need to maintain it every day, if not more often.
Create a query to return all the data you need and display the count per
day, every time you will run the query, the data will be current
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
That will list the count of calls per day
Rod said:I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
:
Are you trying to update existing record, or insert a new record?
Can you provide some more details of what you are trying to do.
:
How can I write the result of dcount using tblCandidates to tblStatistics?
Ofer said:You can use the SQL I provided
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
TableName = The name of the table assuming it tblCandidates
DateField = the name of the field that contain the date in table
tblCandidates
It should work
Rod said:Sorry, I have not created a query which looks like this; how would this look
if I just added your idea to my qCalling? Would I past this in the
eexpression builder?
Ofer said:In that case why do you want to save the data in a new table, it mean that
you will need to maintain it every day, if not more often.
Create a query to return all the data you need and display the count per
day, every time you will run the query, the data will be current
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
That will list the count of calls per day
:
I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
:
Are you trying to update existing record, or insert a new record?
Can you provide some more details of what you are trying to do.
:
How can I write the result of dcount using tblCandidates to tblStatistics?
I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
:
Ofer said:You can use the SQL I provided
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
TableName = The name of the table assuming it tblCandidates
DateField = the name of the field that contain the date in table
tblCandidates
It should work
Rod said:Sorry, I have not created a query which looks like this; how would this look
if I just added your idea to my qCalling? Would I past this in the
eexpression builder?
Ofer said:In that case why do you want to save the data in a new table, it mean that
you will need to maintain it every day, if not more often.
Create a query to return all the data you need and display the count per
day, every time you will run the query, the data will be current
Select [DateField], Count ([DateField]) as Count_Of_Calls
From TableName
Group BY [DateField]
That will list the count of calls per day
:
I am accumulating data in tblCandidates. In the tbl I have a field Called_On
to log the date when the cadidate was called. What I want to do is
eventually have statistics on how many calls were made every day (except
weekends) stored in a separate tble named tblStatitics and field named dates.
So a specific entry in tblstatistics should look something like:
Date Calls
09/02/2005 100
:
Are you trying to update existing record, or insert a new record?
Can you provide some more details of what you are trying to do.
:
How can I write the result of dcount using tblCandidates to tblStatistics?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.