Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
>>>I'm trying to add labels and fields to a 'template' frx by grabbing a sample record from the frx using scatter name, changing uniqueid, vpos, hpos and expr (and Name for fields), then inserting a new record using append blank / gather from name memo.
>>>
>>>If I then try to open the frx in the report designer, I'm told the frx is invalid.
>>>
>>>Any tips here?
>>>
>>>Michael
>>
>>You are using scatter name memo, right? Another thing, open an frx as table and notice that the last few records seem to be "special", starting with objtype 23 followed by records that have to do with cursor, dataenvironment, relations and who knows what else. Try to keep those records at the end; don't do a simple append but create a new frx with the new record before those last few, even inserting it the right place within vpos/hpos order.
>>
>>Alex
>
>Hi, Alex.
>
>Yes, I'm doing scatter name , and I've copied types 23 and 25 to the end and packed. Any other suggestions?
Are you aware about the idosincracies of object positioning in reports? If not I can send you a copy of migrating program I wrote (from FPDOS to VFP. It is not the same but there is useful information in it).
Probably the best way to learn about frx is to add the label manually to the report without touching anything else and compare the two tables. Later do same for field. If you change the height of a band that impacts the vpos of fields below it. It is rather tricky.
Alex
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement