T
Tara
I posted a question some time ago about the need to use data from one field
in a different field. I got a great start, but I'm still stuck. Here's what
I have so far:
UPDATE tblCaseInfo INNER JOIN tblContacts ON tblCaseInfo.CaseInfoID =
tblContacts.CaseID SET tblCaseInfo.StartDate =
DMin("Date","tblContacts","CaseID = " & "CaseID")
WHERE (((tblCaseInfo.StartDate) Is Null) AND
((tblContacts.CaseID)=[Forms]![frmCaseInfo]![CaseID]));
The problem is that the query doesn't filter by CaseID. It simply finds the
earliest ContactDate in the table and applies that to every record that has a
null StartDate. If I create a query to limit the records by CaseID, then tie
it into the above query, I get the message that I must use an updateable
query. I understand why I'm getting that error, but I'm stuck as to how to
get the original query to filter by CaseID.
Any help is appreciated!
in a different field. I got a great start, but I'm still stuck. Here's what
I have so far:
UPDATE tblCaseInfo INNER JOIN tblContacts ON tblCaseInfo.CaseInfoID =
tblContacts.CaseID SET tblCaseInfo.StartDate =
DMin("Date","tblContacts","CaseID = " & "CaseID")
WHERE (((tblCaseInfo.StartDate) Is Null) AND
((tblContacts.CaseID)=[Forms]![frmCaseInfo]![CaseID]));
The problem is that the query doesn't filter by CaseID. It simply finds the
earliest ContactDate in the table and applies that to every record that has a
null StartDate. If I create a query to limit the records by CaseID, then tie
it into the above query, I get the message that I must use an updateable
query. I understand why I'm getting that error, but I'm stuck as to how to
get the original query to filter by CaseID.
Any help is appreciated!