Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form OK in development, 'Record is out of range' at run
Message
From
11/05/1998 10:38:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00098221
Message ID:
00098484
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform