R
rum23
When I run this query in the query window in ACCESS, I can't add any records
to it...
"SELECT tblProjectBudgets.ProjectID, tblProjectBudgets.CIP_ID,
tblProjectBudgets.CIPBudgetItemID, tblProjectBudgets.ProjectBudget,
tblProjectBudgets.ProjectBudgetComments FROM (tblProjects INNER JOIN
tjunCIPProjects ON tblProjects.ProjectID = tjunCIPProjects.ProjectID) INNER
JOIN tblProjectBudgets ON (tjunCIPProjects.CIP_ID = tblProjectBudgets.CIP_ID)
WHERE (tblProjects.ROW_ID = 5)"
However, I have other similar SELECT queries such as one below and these
are updatable.
SELECT tblCIPBudgetAccounts.CIP_ID, tblCIPBudgetAccounts.CIPBudgetItemID,
tblCIPBudgetAccounts.AccountID, tblCIPBudgetAccounts.AccountCIPAmount,
tblCIPBudgetAccounts.CIPBudgetAccountComments, tlkpAccounts.AccountName
FROM tlkpAccounts INNER JOIN tblCIPBudgetAccounts ON tlkpAccounts.AccountID
= tblCIPBudgetAccounts.AccountID;
What's the difference? Is it something to do with multiple INNER JOINS?
to it...
"SELECT tblProjectBudgets.ProjectID, tblProjectBudgets.CIP_ID,
tblProjectBudgets.CIPBudgetItemID, tblProjectBudgets.ProjectBudget,
tblProjectBudgets.ProjectBudgetComments FROM (tblProjects INNER JOIN
tjunCIPProjects ON tblProjects.ProjectID = tjunCIPProjects.ProjectID) INNER
JOIN tblProjectBudgets ON (tjunCIPProjects.CIP_ID = tblProjectBudgets.CIP_ID)
WHERE (tblProjects.ROW_ID = 5)"
However, I have other similar SELECT queries such as one below and these
are updatable.
SELECT tblCIPBudgetAccounts.CIP_ID, tblCIPBudgetAccounts.CIPBudgetItemID,
tblCIPBudgetAccounts.AccountID, tblCIPBudgetAccounts.AccountCIPAmount,
tblCIPBudgetAccounts.CIPBudgetAccountComments, tlkpAccounts.AccountName
FROM tlkpAccounts INNER JOIN tblCIPBudgetAccounts ON tlkpAccounts.AccountID
= tblCIPBudgetAccounts.AccountID;
What's the difference? Is it something to do with multiple INNER JOINS?