Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Print Problem
Message
From
10/10/1997 14:12:52
 
 
To
10/10/1997 14:03:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054071
Message ID:
00054073
Views:
28
>Hopefully a simple problem but I am using the default button set from
>the Form Wizard. In the form I have field named "WEEK1" which shows
>the week in a table with a field named "WEEK".
>
>In the print button I put
>
>REPORT FORM NEWSTAFF.FRX FOR WEEK1=NEWSTAFF.WEEK NOCONSOLE TO PRINTER
>PROMPT
>
>Results: Blank sheet of paper.
>
>If I use:
>
>REPORT FORM NEWSTAFF.FRX FOR CTOD("10/06/97")=NEWSTAFF.WEEK
>NOCONSOLE TO PRINTER PROMPT
>
>I get that record to print.
>
>I was hoping to print the record that showed in the form at that
>moment.
>
>Any ideas?
>
>Thanks

Your mistake is using Week1 variable which essentially means nothing (I guess)
You should use:
Select newstaff
REPORT FORM NEWSTAFF.FRX NEXT 1 NOCONSOLE TO PRINTER PROMPT
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform