Then add a INPUT comment where you will enter the fixture number.
The name for the comment must match what’s in the program here its C1.
C1 =COMMENT/INPUT,YES,Fixture #
IF/C1.INPUT == 1
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_1"
END_IF/
IF/C1.INPUT == 2
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_2"
END_IF/
IF/C1.INPUT == 3
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_3"
END_IF/
IF/C1.INPUT == 4
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_4"
END_IF/
IF/C1.INPUT == 5
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_5"
END_IF/
IF/C1.INPUT == 6
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_6"
END_IF/
IF/C1.INPUT == 7
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_7"
END_IF/
IF/C1.INPUT == 8
ASSIGN/FIXTURE_NUM = "C:\DATAPAGE\7781_8"
END_IF/
STATS/ON,DATAPAGE,$
DIRECTORY=FIXTURE_NUM,$
DIRECTORY=,$
READ=60,WRITE=66,MEMPAGES=24,DIMENSION NAME,CONTROLCALC OFF,$
STATS/END
Or, you could use Operator Input Comments along with tracefields and then create queries in DATAPAGE. That is how DATAPAGE is supposed to be utilized.
C1 =COMMENT/INPUT,YES,FULL SCREEN=YES,'OPERATOR' C2 =COMMENT/INPUT,YES,FULL SCREEN=YES,'TRIAL' C3 =COMMENT/INPUT,YES,FULL SCREEN=YES,'SAMPLE'
TRACEFIELD/NO_DISPLAY,LIMIT=15 ; OPERATOR : C1.INPUT TRACEFIELD/NO_DISPLAY,LIMIT=15 ; TRIAL : C2.INPUT TRACEFIELD/NO_DISPLAY,LIMIT=15 ; SAMPLE : C3.INPUT
Notice the TRACEFIELD has the option set as NO_DISPLAY, that ensures that the operator doesn't change anything once it starts going to stats. just another way to do it.
* Available only in DataPage/RT for Windows