Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence of execution
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00768002
Message ID:
00769215
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Kamil,

NOW I understand what you are saying. I was misunderstanding and thinking that the 3 lines you are talking about being out of order were three different records, therefore, 3 different detail bands. Now I realize that you are talking about 3 different objects in one detail band!!

The order of execution of the objects is the order that they appear in the FRX file. Initially, this is the order that the fields are added to the report. However, you can change that order by using the "Bring to Front" or "Send to Back" option .. just as you can do with the Forms Designer. Just bring up the Report Designer, start with the object you want to appear LAST and select "Bring to Front". Then go thru each object in reverse order and select "Bring to Front" for each of them. When you get through all the objects, they should be in the order you want.

Cathy


>Thank you, Yuri, for your enduring interest.
>
>Let's consider the detail band.
>Lines of the band look like this:
>DualOut('Line1') - the function sends 'Line1' to file and returns 'Line1' to the report for printing
>DualOut('Line2')
>DualOut('Line3')
>After initial entering these fields in the report designer everything is ok, file looks like this:
>Line1
>Line2
>Line3
>
>Then i open the report designer and completely REMOVE DualOut('Line2') and after that put in its place a different line so the detail band looks like this:
>DualOut('Line1')
>DualOut('Different line')
>DualOut('Line3')
>
>Printout is fine but the file contains:
>Line1
>Line3
>Different line
>
>Based on this i infer that the DualOut('Line1/3') are executed by the report before DualOut('Different line').
>Phisically DualOut('Different line') appears after DualOut('Line1/3') in the .frx but even if i squeeze DualOut('Different line') between DualOut('Line1/3') the resulting file does not change for the better.
>
>So if there is anything in the .frx that controlls the flow of execution within the report its got to be some .frx column. I didn't want to conduct trial and error experiments hoping that somebody would tell me on the fly what column it is and how to change it properly.
>Best wishes.
>Kamil.
>
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