Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No trouble, just SHOOT the report.
Message
From
11/09/2003 16:53:19
 
 
To
11/09/2003 16:42:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00828320
Message ID:
00828331
Views:
14
hello Chris.

How are you doing?

Sound a little like that you call a UDF from within the report which gets activated under certain conditions. maybe in that function you change aliases and the original alias is not beeing selected back at the end of the func.

maybe something to look into?


>I'm having a frustrating problem with one of my reports.
>
>It's an Orders-LineItems type report that never seems to print the LineItems correctly. Sometimes I get just one lineitem, sometimes it repeats several times, and every once in a while, it prints correctly. Once, I previewed the report, and everything was correct. When I printed that one, the results weren't the same as the preview.
>
>I would believe that something is changing the current alias, but I can't find *HOW*. I've semi-proven this by including ALIAS() in the page header and the detail band, and seen it both the same and different. I've tried selecting the alias before starting the print routine, and in the report's dataenvironment.
>
>Everything in the detail band is LineItems.somefield, while the header is orders.somefield.
>
>How can I figure out when/where/why the alias is changing, and if it's not too much trouble, MAKE IT STOP!?
>
>As if that wasn't bad enough, it seems like the problem is spreading to other previously correct reports...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform