Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing detail band programmatically (fixing vfp bug)
Message
 
 
À
26/12/2001 14:40:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00597919
Message ID:
00598271
Vues:
19

>Than you for the idea of removing detail objects.
>I'm using Markus genrepox 3 and frx2word.
>Unfortunately, I havent found samples from their code to remove
>detail band objects. How to determine that object belongs to detail band ?


Take a look at the source code of Frx2Word class to get an idea how you can find the objects of a band.


>The need to adjust other bands position makes this task very complicated.

I don't know for sure If you have to.

Instead of removing detail band you can try to use Print When with variable llPrintDetail for all those detail band objects. It's just an idea and I'm not sure if it would work.

>>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform