Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print a datasheet
Message
De
15/07/1997 12:09:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040010
Message ID:
00040028
Vues:
21
>>I need a function on one of my forms that prints out the data for the current record in the table. Sort of a datasheet printout... no preview; just print. It needs to be formatted somewhat. Having always used foxfire for my reporting needs, I have never had to deal directly with VFPs printing. I know this will sound silly, but for all the literature I have, I can't find anything that points me in the right direction. What commands should I explore? Do I create a formatted report first? This has got to be a simple task, but like many other simple tasks before, I have become frustrated with the documentation I have. Could somebody please offer an abbreviated step x step? Thanks.
>>
>>Erik
>
>formatted report first (development)
>
>holdval = [primary key or record number]
>report form myform to printer for [primary/unique key or record number] = holdval

Dave this works well and is exactly what I needed, but when I print the report for the first time, part of the report pops up and superimposes itself on the form that I am printing from, hiding all of the command buttons except for the print button, and making the form look a little funny to say the least. The only way it seems to get the form back to normal is to close and reopen it. thisform.refresh does not help. Have I missed something? Many thanks for your help.

Erik
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform