Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Print Problem
Message
De
10/10/1997 14:12:52
 
 
À
10/10/1997 14:03:07
Andy Roth
Neyenesch Printers
Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00054071
Message ID:
00054073
Vues:
33
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform