I have a report with most fields populated by a query. However, some
of the fields are variable in such a way that their values cannot be
queried from a table. At present the values for these fields are
being entered by the user as parameter values when the query is run.
But there are four fields which need to be entered, and the pop-up
dialog boxes can be annoying.
I would like to have a form where the user can enter the data for
these four fields into corresponding text boxes and then have those
special fields in the report populated from the text boxes of the form
(probably by clicking a command button on the form.)
I have some ideas on how this could be done, but they seem overly
complicated. What would be the easiest/best way to do this? I have
included the SQL generated by Access2000 for my current query.
SELECT [tblExam_Data].[Title 1] & " " & [tblExam_Data].[Salary
Grade] AS TandG, tblExam_Data.[Exam Number], tblList_Data.[Type of
Appt], [Enter Location] AS Expr2, tblPersonal.Pho ne,
tblList_Data.[Appt Date], tblExam_Data.[Type of Exam],
[tblPersonal].[FName] & " " & [tblPersonal].[LName] AS Name,
tblList_Data.[Final Rating], [Enter Type of Appointment] AS Expr1
FROM tblPersonal INNER JOIN (tblExam_Data INNER JOIN tblList_Data ON
tblExam_Data.[Exam Number] = tblList_Data.[Exam Number]) ON
tblPersonal.ID = tblList_Data.ID
WHERE (((tblList_Data .[Final Rating])>=[Enter Lowest Score]) AND
(([Enter Exam Number])=[tblExam_Data].[Exam Number]) AND
((tblList_Data.[Remove from Canvas List])=No))
ORDER BY tblList_Data.[Final Rating] DESC;
Any assistance is appreciated.