mitigated RList query issue
This commit is contained in:
parent
1c69c61d16
commit
1bd10cffad
@ -88,29 +88,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'
|
||||
@ -127,7 +119,7 @@ PageInfo<7> = LETTER ;* Pagesize
|
||||
PageSetup = '1' ;* Landscape = 1
|
||||
PrintSetup = '2' ;* Preview Normal
|
||||
PrintSetup<1, 2> = 0
|
||||
* PrintPath = Printer_Select()
|
||||
|
||||
PrintPath = ''
|
||||
stat = Set_Printer('INIT',FileName,Title,PageInfo,PageSetup,PrintSetup,PrintPath)
|
||||
IF stat < 0 THEN GOTO OIPrintErr
|
||||
|
@ -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
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user