Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report or cursor problem OR a VFP bug ?
Message
 
À
25/06/2004 10:40:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00917219
Message ID:
00917265
Vues:
6
Are you running the labels from inside a form that has a grid on it. If so, you need to programmatically move focus off the grid before running the report.

Cathy


>Hi all,
>
>I have a big problem. => I have created a cursor in a program. This cursor contains a products and corresponding prices. for ex :
>prod price
>a 5
>b 4
>a 5
>d 8
>
>Via the command 'label from.... preview' i print the list of products. The first time everything is ok. In the preview and on paper i have 2 times product a with the prices and b and d each one time. Without leaving my form and doing nothing else but printing via the same code the same list then a get in the preview the right example. When i continue and chose to print the list i only get one time product 'a'.
>
>And this each time i want to print the second time the same list.
>
>So : preview is always ok on paper first time ok second time he only print each value 1 time.
>
>can somebody help me ?
>
>Thnx
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform