G
Guest
I have a form that runs VB code to generate a new query based on values
selected. These query is for entering attendance of a program. So based on
the program selected it runs a query of the people who were invited
(graduates or undergraduates and the current semester). The query being run
looks something like this:
SQLString2 = "SELECT [First Name], [Last Name], [Person].[ID], [Semester],
[Attend] FROM Person INNER JOIN Guest on Person.ID = Guest.id WHERE
[Semester] = '" + ![Semester] + "' ORDER BY [Last Name];"
I need the two tables because the semester information is stored in the
guest table. If I leave out the join with the guest table and generate a
query of all the people in the people table, everything works as planned.
This code used to work in older versions of Access, but I'm thinking in the
new version they have controls that stop you from editing queries that have
information from multiple tables. Has anyone else come across this problem?
Any help would be appreciated.
selected. These query is for entering attendance of a program. So based on
the program selected it runs a query of the people who were invited
(graduates or undergraduates and the current semester). The query being run
looks something like this:
SQLString2 = "SELECT [First Name], [Last Name], [Person].[ID], [Semester],
[Attend] FROM Person INNER JOIN Guest on Person.ID = Guest.id WHERE
[Semester] = '" + ![Semester] + "' ORDER BY [Last Name];"
I need the two tables because the semester information is stored in the
guest table. If I leave out the join with the guest table and generate a
query of all the people in the people table, everything works as planned.
This code used to work in older versions of Access, but I'm thinking in the
new version they have controls that stop you from editing queries that have
information from multiple tables. Has anyone else come across this problem?
Any help would be appreciated.