Hi, Everyone,
I am running a query and then merging it successfully when I use all but two computers in my office. These two computers have been running FileMakerPro to run word merges, and I am assuming that this is somehow related.
Normally the template I want to use is already linked to the query. On these computers, when I select office tools and then merge, I get a prompt box which has me select the table or view I want to merge. The problem is that I am not given the option of selecting the query I need to merge. I am only given table and view objects. I tried making the query into a table and that works, but since we are generating letters frequently, this is not an option.
Any ideas?
Thanks to all out there for reading my post.
Bertie
I don't know if the query has anything to do with it, but here it is:
SELECT Prisoner.CDCNumber, Prisoner.LastName, Prisoner.FirstName, Prisoner.IsCreateMailingLabel, PrisonerContactLog.CaseCode, PrisonerContactLog.PrisonerContactLogID, PrisonerContactLog.InfoReceivedDate, PrisonerContactLog.InfoSource, PrisonerContactLog.PLOStaffIDRecorder, PrisonerContactLog.InfoContentMemo, PrisonerContactLog.FirstRoutetoPLOStaffID, PrisonerContactLog.FirstActionCode, PrisonerContactLog.ResponseBodyMemo, PrisonerContactLog.Signator, PrisonerContactLog.SignatorTitle, PrisonerContactLog.ReplySentDate, PrisonerContactLog.NonStandardEnclosure, Concatenate("SELECT EnclosCode from EnclosureSent where PrisonerContactLogID =" & [PrisonerContactLog.PrisonerContactLogID] & " ORDER BY EnclosCode","; ") AS AllEnclos, PrisonerContactLog.SecondRoutetoPLOStaffID, PrisonerContactLog.SecondActionCode, PrisonerContactLog.SecondActionMemo, PrisonerContactLog.Modifier, PrisonerContactLog.ModifiedDate, PrisonerContactLog.CreationDate, Prisoner.PrisonCode, Prisoner.HousingNumber, Prisoner.HousingType, Prison.POBoxInmate, Prison.City, Prison.State, Prison.PostalCode
FROM Prison INNER JOIN (Prisoner INNER JOIN PrisonerContactLog ON Prisoner.CDCNumber = PrisonerContactLog.CDCNumber) ON Prison.PrisonCode = Prisoner.PrisonCode
WHERE (((PrisonerContactLog.CaseCode)="COL") AND ((PrisonerContactLog.ReplySentDate)=Date()));
I am running a query and then merging it successfully when I use all but two computers in my office. These two computers have been running FileMakerPro to run word merges, and I am assuming that this is somehow related.
Normally the template I want to use is already linked to the query. On these computers, when I select office tools and then merge, I get a prompt box which has me select the table or view I want to merge. The problem is that I am not given the option of selecting the query I need to merge. I am only given table and view objects. I tried making the query into a table and that works, but since we are generating letters frequently, this is not an option.
Any ideas?
Thanks to all out there for reading my post.
Bertie
I don't know if the query has anything to do with it, but here it is:
SELECT Prisoner.CDCNumber, Prisoner.LastName, Prisoner.FirstName, Prisoner.IsCreateMailingLabel, PrisonerContactLog.CaseCode, PrisonerContactLog.PrisonerContactLogID, PrisonerContactLog.InfoReceivedDate, PrisonerContactLog.InfoSource, PrisonerContactLog.PLOStaffIDRecorder, PrisonerContactLog.InfoContentMemo, PrisonerContactLog.FirstRoutetoPLOStaffID, PrisonerContactLog.FirstActionCode, PrisonerContactLog.ResponseBodyMemo, PrisonerContactLog.Signator, PrisonerContactLog.SignatorTitle, PrisonerContactLog.ReplySentDate, PrisonerContactLog.NonStandardEnclosure, Concatenate("SELECT EnclosCode from EnclosureSent where PrisonerContactLogID =" & [PrisonerContactLog.PrisonerContactLogID] & " ORDER BY EnclosCode","; ") AS AllEnclos, PrisonerContactLog.SecondRoutetoPLOStaffID, PrisonerContactLog.SecondActionCode, PrisonerContactLog.SecondActionMemo, PrisonerContactLog.Modifier, PrisonerContactLog.ModifiedDate, PrisonerContactLog.CreationDate, Prisoner.PrisonCode, Prisoner.HousingNumber, Prisoner.HousingType, Prison.POBoxInmate, Prison.City, Prison.State, Prison.PostalCode
FROM Prison INNER JOIN (Prisoner INNER JOIN PrisonerContactLog ON Prisoner.CDCNumber = PrisonerContactLog.CDCNumber) ON Prison.PrisonCode = Prisoner.PrisonCode
WHERE (((PrisonerContactLog.CaseCode)="COL") AND ((PrisonerContactLog.ReplySentDate)=Date()));