SundancerKid
Programmer
I have tried to creat a Union Query in MS Access using the data in ACCPAC 5.1 and running a crystal report to access this Union Query in Crystal. I currently get an error accessing the Union Query, I have to creat an access table from the union Query to make it work. The data I am accessing is the Order Invoice data and the Credit Notes data. I am joining the 2 queries together to come up with one file hense the union query.
If there was another way then I would use visual linking in crystal to make this work but there is sometimes a key field from Order Invoice that matches the Credit Notes but most of the time not.
Here is an example of a Union Query
SELECT City, CompanyName, ContactName, "Customers" AS [Relationship]
FROM Customers
UNION SELECT City, CompanyName, ContactName, "Suppliers"
FROM Suppliers
ORDER BY City, CompanyName;
Is there any way to creat a view or query in ACCPAC??
If there was another way then I would use visual linking in crystal to make this work but there is sometimes a key field from Order Invoice that matches the Credit Notes but most of the time not.
Here is an example of a Union Query
SELECT City, CompanyName, ContactName, "Customers" AS [Relationship]
FROM Customers
UNION SELECT City, CompanyName, ContactName, "Suppliers"
FROM Suppliers
ORDER BY City, CompanyName;
Is there any way to creat a view or query in ACCPAC??