G
ghostman via AccessMonster.com
I having problem with my report. I have pop up form with a combo box where
you can select the languages. (English, Arabic, Hindi, etc..) based on my
Instructor table and a command button to trigger the report. The problem is
there is no report displayed after selecting the language and clicking on the
command button while if you do it in the query itself, it works fine. (a
parameter value pops up and i type the language). it also works without using
the pop up form, but i want it to be complicated lol!
i don't know what i am missing...
here are some data:
Row source of my combo box [SelectLanguage]:
SELECT [Instructors].[InstructorID], [Instructors].[Language] FROM
Instructors ORDER BY [Language];
Command Button [cmdPreview] onClick Event procedure:
Private Sub cmdPreview_Click()
Me.Visible = False
End Sub
and here's the SQL of the query based on the Instructor table:
SELECT Instructors.InstructorID, Instructors.FirstName, Instructors.
MiddleName, Instructors.LastName, Instructors.Initials, Instructors.
JobPosition, Instructors.Language, Instructors.TimeOfAvailabilityF,
Instructors.TimeOfAvailabilityT, Instructors.VacationScheduleF
FROM Instructors
WHERE (((Instructors.Language)=[forms]![ParamForm]![SelectLanguage]));
you can select the languages. (English, Arabic, Hindi, etc..) based on my
Instructor table and a command button to trigger the report. The problem is
there is no report displayed after selecting the language and clicking on the
command button while if you do it in the query itself, it works fine. (a
parameter value pops up and i type the language). it also works without using
the pop up form, but i want it to be complicated lol!
i don't know what i am missing...
here are some data:
Row source of my combo box [SelectLanguage]:
SELECT [Instructors].[InstructorID], [Instructors].[Language] FROM
Instructors ORDER BY [Language];
Command Button [cmdPreview] onClick Event procedure:
Private Sub cmdPreview_Click()
Me.Visible = False
End Sub
and here's the SQL of the query based on the Instructor table:
SELECT Instructors.InstructorID, Instructors.FirstName, Instructors.
MiddleName, Instructors.LastName, Instructors.Initials, Instructors.
JobPosition, Instructors.Language, Instructors.TimeOfAvailabilityF,
Instructors.TimeOfAvailabilityT, Instructors.VacationScheduleF
FROM Instructors
WHERE (((Instructors.Language)=[forms]![ParamForm]![SelectLanguage]));