mitigated RList query issue
This commit is contained in:
@ -90,29 +90,21 @@ END
|
||||
|
||||
DateRange = "Dates: ":StartDateFrom:" Through ": StartDateThru
|
||||
|
||||
|
||||
Utility( 'CURSOR', 'H' )
|
||||
|
||||
WithStmt = 'SELECT REACTOR_LOG ':WithStmt
|
||||
|
||||
WithStmt := ' AND WITH CATEGORY = "M" BY REACTOR BY START_DATE'
|
||||
|
||||
RLIST( WithStmt, TARGET_ACTIVELIST$, '', '', '' )
|
||||
|
||||
IF Get_Status(errCode) THEN CALL ErrMsg(errCode)
|
||||
|
||||
WithStmt ="SELECT REACTOR_LOG BY REACTOR BY START_DATE WITH CATEGORY = 'M'"
|
||||
|
||||
|
||||
RLIST(WithStmt,TARGET_ACTIVELIST$,'','','')
|
||||
|
||||
IF Get_Status(errCode) THEN CALL ErrMsg(errCode)
|
||||
|
||||
IF @Reccount = 0 THEN
|
||||
ErrMsg('No records selected with that criteria...')
|
||||
RETURN
|
||||
END
|
||||
|
||||
|
||||
* Start of printing process
|
||||
|
||||
FileName = 'Print Reactor Maintenance Report'
|
||||
@ -657,3 +649,4 @@ END
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user