Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing detail band programmatically (fixing vfp bug)
Message
 
 
To
24/12/2001 10:24:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00597919
Message ID:
00597946
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
Hi Andrus,

You've to remove not only detail band record itself but also records for all objects in the detail band. Take a look at source code of Frx2Word to get an idea how you can find them. I'm not sure but also possible that you'll have to adjust vertical position for other bands.

You can also take a look at GenRepoX By Markus Egger from http://www.eps-software.com/isapi/eps.dll?products

>I need to remove detail band from frx file programmatically.
>I tried the following program, but this causes C5 error in VFP 7.
>How to remove detail band programmatically ?
>
>
>use myreport.frx exclusive
>delete for objtype=9 and objcode=4
>pack
>USE
>REPORT FORM form myreport PREVIEW NOWAIT SUMMARY
>
>
>Detail band needs to be removed to fix vfp bug:
>Clicking Print button in REPORT NOWAIT PREVIEW SUMMARY window prints report detail lines!
>I reported this to Microsoft but havent got any response.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform