Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records cannot retrive after reporting
Message
From
12/03/2002 06:10:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/03/2002 04:58:41
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00631375
Message ID:
00631383
Views:
23
>My form is having record navigation buttons which can go forward and backward
>and also having a print report button.
>
>In my report button, I wrote
>Report form MyReport for ref_no>=thisform.text1.value and ;
>ref_no<=thisform.text2.value to print prompt
>
>After reporting, my record navigation buttons can't work properly....
>Why ? and How to correct it ?

The REPORT command will go to the end-of-file.

Try something like this:
local lnRecno
lnRecno = recno()
report form ...
if lnRecno <= reccount()
  goto lnRecno
else
  go bottom && or go top
endif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform