Hai,
If u are not using VFP9 or if u dont want to use the reprot writer then write a program to print to a dos text file
eg.
if u have a employee.dbf with empid C(5),empname C(30),dept C(5),desig C(10),netsal N(12,2)
then your program will be
- clos all
- clear
- private nrou
- nrou = 0
- set device to file empdet.txt
- sele a
- use employee shared alias employee
- go top
- do while !eof()
- @ nrou,000 say emptid pict '!XXXX'
- @nrou,007 say custname pict '@!'
- @nrou,040 say dept pict '@!'
- @nrou,047 say desig pict '@!'
- @nrou,059 say netsal pict '999999999.99'
- nrou = nrou + 1
- sele employee
- if !eof()
- skip
- endif
- enddo
- set devi to scree
- sele employee
- use
- modi comm empdet.txt noed
now u can print empdet.txt which will not have any page eject character.
|