Home : Products : Job Cal Plus : Documentation : Custom Reports : Define Query In Access
Q11672 - INFO: Define Query In Access

Define Query in Microsoft Access


Note: You must have Microsoft Access 97 to run the Queries. Also must have the Custom Reports Module . JOB Plus/Cal come with a set of canned reports that should be sufficient for most users. However JOB Plus users can purchase the Custom Reports module which gives users the capability to create their own custom reports or modify canned reports and run them from the JOB Plus program. The Custom Reports module is not available to JOB Cal users.

When you need to join (get information from two or more tables) you may want to design the query in Access in order to copy the SQL statement into the DAO RecordSource.

Open up a database in Access 97.  Browse to Tutor.mdb (usually located in C:\JobCal\Tutor) and double click on the file.  If you have Access 97 installed, tutor.mdb will be opened. 

Go to Queries tab, then click on New:

Now go to Design View.

Select the Tables that you want to Query.


 
Access will link (join) the selected tables that make up your report. The joins are depicted by the lines between the tables.  You may need to edit them.  Drag the fields required for the report to the query table (spreadsheet).  If you need to group the report you need to sort by the field you are grouping by.  For example, if you need to group by equipment, sort by the Equipment# field. 

Now Link the Tables.


Now run the query by clicking on the   button.  The Query Results will be displayed:

 

Now right click and select SQL View .


You can paste the text as your datasource.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 9/5/2008 2:58 PM.
Last Modified on 7/2/2012 1:52 PM.
Last Modified by Scott Dorner.
Article has been viewed 4043 times.
Rated 8 out of 10 based on 3 votes.
Print Article
Email Article