Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record 1 of 100 Need report to only print record 6

Status
Not open for further replies.

lashwarj

IS-IT--Management
Nov 1, 2000
1,067
US
I have a command button that I have the following code in

report from ward to printer prompt preview noconsole next 1

This is only letting me print the first record, my question is in a form how di I make it so the command button will only print the form I am on, say if I am on record 6 of 100 how do I get it to print record 6
 
SELECT yourtable
GOTO 6 && or SEEK() or LOCATE()
** or whatever to position on the right record
report from ward to printer prompt preview noconsole next 1

Rick
 
lnRecno = recno()
report from ward to printer prompt preview noconsole for recno() = lnRecno David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top