Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find the total ammount of Records in a table and then show on chart

Status
Not open for further replies.

HebieBug

Programmer
Jan 8, 2001
354
JP
Am working on a database system and have got to the stage where we would like to see how big the database is getting.
We would like a graphical representation of how many records are in each table. Was attempting to make a form with a chart on it. Would like the chart to show how many records are in each table.
Anyone have any ideas?
 
You would first need to build a query.
Take one field from each table you would like to count and pull it to the QBE pane in the query builder.
Next click on the "Summation" character in the toolbar at the top. This displays a new row in the QBE pane that lets you count the values that occur in that field. The default is "Group by" , you need to change this to "Count" for each of the fields.
Now run the query and you should get a result for the total number of records for each field (actually its a count for each table.

Now base your chart on these numbers and you are set.
 
It works but only on one table at a time if you try to have more then one table then it will give a responce of 0 across all of them
ANy other ideas that may help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top