Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Records cannot retrive after reporting
Message
De
12/03/2002 06:10:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/03/2002 04:58:41
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00631375
Message ID:
00631383
Vues:
22
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform