Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting indexes for a Grouped report
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00164759
Message ID:
00164765
Views:
22
>Hi all,
>
>I have a report that I created, but I didn't set an index tag for the field I want ordered in the grouping. Ex.
>
>Field 1 Field 2
>1 a
> b
>
>and so on...
>
>I tried SET ORDER TO TAG Field2 before I execute my report and did not get the results I wanted.
>
>Can I set a primary and secondary oder in hard code such as:
>
>SET ORDER TO TAG Field1,Field2 OF MyCDX
>
>or something similar???
>
>
>TIA

If I understood your question correctly, you want to order your report by field1+field2, and group by field2 within each field1.value. If it's true, then you should either have order tag on both fields together (field1+field2, if characters) or select records into cursor ordered by both fields.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform