Maybe this is broken again or I am missing something simple?
I call a process from a query it opens a non-persistent BO with ENTERNEW to get report parameters Then calls a 2nd process to find the records based on parameters passing the non-persistent BO
Rule #1 find the records Rule #2 uses DISPLAY DOCUMENT 'Report Name' there over 2000 records returned, following the Log viewer it is finding all the records in batches of 1000 and shows it is calling the report but it never display the completed report?
have to be missing something simple. I really don't want to have to create a separate report for each sort option using its own query based on the sort option selected.
Rule#1 in process
If CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=1
THEN
FIND ALL InventoryMaster ORDER BY InventoryMaster.sc_IC_Code ASC, InventoryMaster.IM_Desc ASC
ELSE IF CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=2
THEN
FIND ALL InventoryMaster ORDER BY InventoryMaster.IM_Desc ASC
ELSE IF CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=3
THEN
FIND ALL InventoryMaster ORDER BY InventoryMaster.IM_IndexNo ASC
Rule #2 in Process
IF CHARS_FROM_LEFT(ReportParameters.InventoryMasterReport,1)=1 AND CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=1
THEN
DISPLAY DOCUMENT InventoryMaster_Listing_ByCode_Desc
ELSE IF CHARS_FROM_LEFT(ReportParameters.InventoryMasterReport,1)=1 AND CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=2
THEN
DISPLAY DOCUMENT InventoryMaster_Listing
ELSE IF CHARS_FROM_LEFT(ReportParameters.InventoryMasterReport,1)=1 AND CHARS_FROM_LEFT(ReportParameters.InvMasterSort,1)=3
THEN
DISPLAY DOCUMENT InventoryMaster_Listing