Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System thrashing istelf accessing MAS90 db

Status
Not open for further replies.

CrystalLion

Programmer
Jan 3, 2007
113
US
I am running reports using Crystal Ver XI accessing MAS 90.

I have no problem running a report that accesses one table, such as, the Customer Master table, as shown in the SQL Query shown below.

SELECT
"AR1_CustomerMaster"."CustomerNumber",
"AR1_CustomerMaster"."CustomerName",
"AR1_CustomerMaster"."SalesYTD",
"AR1_CustomerMaster"."DateLastActivity"
FROM "AR1_CustomerMaster" "AR1_CustomerMaster"
WHERE "AR1_CustomerMaster"."SalesYTD">.01

However, when I add another file, with an SQL Query looking like this:

SELECT
"AR1_CustomerMaster"."CustomerNumber",
"AR1_CustomerMaster"."CustomerName",
"AR1_CustomerMaster"."SalesYTD",
"AR1_CustomerMaster"."DateLastActivity",
"ARN_InvHistoryHeader"."CustomerNumber",
"ARN_InvHistoryHeader"."InvoiceNumber",
"ARN_InvHistoryHeader"."InvoiceDate"
FROM "AR1_CustomerMaster" "AR1_CustomerMaster",
"ARN_InvHistoryHeader" "ARN_InvHistoryHeader"
WHERE ("AR1_CustomerMaster"."CustomerNumber"=
"ARN_InvHistoryHeader"."CustomerNumber")
AND "AR1_CustomerMaster"."SalesYTD">.01
{ARN_InvHistoryHeader.InvoiceDate} >
Date (2005,12,31)

...the report trashes itself to DEATH. I have waited as long as 1 hour, and nothing.

Any thoughts would be greatly appreciated. Thanks

L
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top