Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form OK in development, 'Record is out of range' at run
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00098221
Message ID:
00098641
Vues:
28
I agree with John's idea to use SQL in place of the FOR clause, but are you absolutely positive you have the correct table SELECTed before calling the REPORT? It's an easy mistake to make.....

HTH

Barbara

>>What code is in the Click()??
>
>Here it is:
>
>Local ldFrom, ldTo, lnSendTo, lcDest
>lnSendTo = ThisForm.OptSendTo.Value
>lcDest = Iif(lnSendTo = 2, 'To Printer', 'Preview')
>ldFrom = ThisForm.txtFrom.Value
>ldTo = ThisForm.txtTo.Value
>Report Form Total For Between(TotalDate, ldFrom, ldTo) &lcDest ;
>  Heading "From "+DTOC(ldFrom)+" To "+DTOC(ldTo) NoConsole
>If lnSendTo = 2
>  Wait Window "Report Sent To "+pPrnName Timeout 2
>Endif
>ThisForm.Release
>
>TIA
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform