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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a make table on an external field

Status
Not open for further replies.

Delboy14

Programmer
Jun 21, 2001
213
GB
Crystal Reports 8.5, Access XP

Hi,
I have a problem that my database is growing so large that subsequently running reports on it is taking far too long. I was wondering if there was a way to run a make table query (In Access) usings an ID as a parameter, WHERE clause (which is passed from an external source eg Crystal Reports), this would allow me to run many subsequent queries on this smaller record set, and include data from this quickly into the report. Thanks in advance
 
sorry but to make it clearer the SQL would look like:
Code:
SELECT Consults.Index, Consults.PatientIndex, Consults.ConsultDate, Consults.PracticeID INTO tempConsult
FROM Consults
WHERE Consults.PracticeID=[IMPORTED ID NAME]
ORDER BY Consults.Index;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top