Not sure how to tell.....
Here is the source code for one of the report programs thanks in advance for your assistance:
Store Date() To mBDate, mEDate
Do DateRange
*Clear
*@ 3,27 SAY "<Esc> To Exit"
*@ 0,0 Say Time()+Space(60)+DTOC(Date())
*@ 12,30 Say 'From Date :' Get mBDate Picture '@D'
*@ 14,32 Say 'To Date :' Get mEDate Picture '@D'
*Read
If LastKey() = 27
Return
EndIf
mFlag = Space(1)
Select 1
Set Order To 3
Set SoftSeek On
Seek DToS(mBDate)
Set SoftSeek Off
Do While Prnt_Err()
If LastKey() = 27
Return
EndIf
EndDo
Do PrintMsg
Set Device To Printer
Do RepRptHdr
Do While CALL_DATE <= mEDate .And. .NOT. Eof() .And. InKey() <> 27
If .Not. Empty(REP_DESC)
Skip
Loop
EndIf
mFlag = 'Y'
If PRow() = 60
Eject
Do RepRptHdr
EndIf
@ PRow()+1,1 Say Transform(CUS_HOMEPH,'@R (999) 999-9999')+Str(LOC,9)+;
Str(CALL_NO,9)+Space(4)+DTOC(CALL_DATE)+Space(4)+;
APPTYPE+Space(6)+TECH
* @ PRow()+1,1 Say CUS_HOMEPH Picture '@R (999) 999-9999'
* @ PRow(),21 Say Str(LOC,3)+Str(CALL_NO,9)+Space(4)+;
* DTOC(CALL_DATE)+Space(4)+APPTYPE+Space(6)+TECH
Skip
EndDo
If mFlag = Space(1)
If InKey() = 27
@ PRow()+5,50 Say 'User Interrupted... Report Aborted'
Else
@ PRow()+5,5 Say 'No Calls From '+DTOC(mBDate)+' To '+DTOC(mEDate)+;
' WithOut Repair Descriptions'
EndIf
EndIf
Eject
Set Device To Screen
Return
Procedure RepRptHdr
@ PRow(),19 Say 'REPORT OF CALLS WITH NO REPAIR DESCRIPTION'
@ PRow()+2,1 Say 'PHONE NUMBER'+Space(7)+'LOC#'+Space(4)+'CALL#'+;
Space(3)+'CALL DATE'+Space(4)+'APPL'+Space(5)+'TECH'
*PHONE NUMBER LOC# CALL# CALL DATE APPL TECH
*(603) 668-6542 1 1 01/01/01 REF1 DD
@ Prow()+1,1 Say Replicate('-',78)
Return