Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized Views as Detail band data
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001306
Message ID:
01001748
Views:
11
>I'm messing with a report and am looking for some insight. I have the classic one-to-many type relationship and was wondering if there was a way to use a parameterized View for the "Detail Band" data. I'm able to get one record in the View to output, but I can't seem to "SET SKIP" to a view.
>
>Would I be better off just using "SET RELATION" to the base table instead, or in the case of a SQL-Server table creating a view that drags all the "Detail Band" data?
>
>I hope I gave enough info, and TIA

I think your problem is that you have the wrong table selected at the time you run the report. The detail section of a report is "driven" by the cursor selected when the report is run. If you need to show data in a related record as well, you should set a relation from the cursor that drives the detail into the other cursor. (Note: This is different from how the new multiple detail band reports work.)

Still, Hilmar's suggestion about creating a de-normalized cursor for the report is the solution I'd go with.
Previous
Reply
Map
View

Click here to load this message in the networking platform