it wont let me do that. the code im using for the procedure is
procedure print_inventory
clear
USE A:\TABLES\cdfile.DBF in 1
SET COLOR OF FIELDS TO N/W*
print1=0
set safety off
set alternate to A:\CDFILE
set alternate on
list FIELD cd_num,title,artist,style off
set alternate off
@33,65 GET Print1 FUNCTION '* PRINT;EXIT' FONT 'TIMES',8 SIZE 1, 10
READ
IF PRINT1 =1
list FIELD cd_num,title,artist,style off TO PRINT
endif
clear
set safety on
close database
return
when i press the page up or down nothing happens when a press the arrow keys it activates the button