access requires parentheses when there are more than two tables being joined
Code:
select ...
from (
personal_info
inner
join cpsPrograms
on personal_info.cpsp
= cpsPrograms.programID
)
inner
join pro_info
on personal_info.userID
= pro_info.pro_ID
where state = 'MD'
and allowSearch = 1
tip: please don't use the asterisk in the SELECT, list only the columns you really need
tip: qualify each column, because it is not immediately clear which table state and allowsearch belong to
tip: always use JOIN ... ON syntax, don't list the tables with the join conditions in the WHERE clause
__________________
r937.com | rudy.ca