Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image in Report Repeating
Message
De
19/11/2009 16:49:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01435680
Message ID:
01435684
Vues:
66
>>Hi,
>>
>>I am trying to create a report to display 5 images that exist on disk.
>>
>>I have created a cursor and put the name of each image in a separate record
>>
>>CREATE CURSOR myGraphs;
>>(GraphName C(20))
>>
>>INSERT INTO myGraphs VALUES ("Graph1.jpg")
>>INSERT INTO myGraphs VALUES ("Graph2.jpg")
>>INSERT INTO myGraphs VALUES ("Graph3.jpg")
>>INSERT INTO myGraphs VALUES ("Graph4.jpg")
>>INSERT INTO myGraphs VALUES ("Graph5.jpg")
>>
>>On the report I drop an OLE/Picture object in the detail band and set the Controlsource Type to be "Expression or variable name", then set the Control source to myGraphs.Graphname.
>>
>>The result is the first image (Graph1) printing out 5 times. If I display the content of the field just below the graph the proper file name is displayed.
>>
>>I know I've done this before, but for the life of me can't remember the trick.
>>
>>Anybody remember the trick to this?
>
>This FAQ JPGs in a VFP 6 Report FAQ #7862 seems to suggest the same thing.

Hi Naomi,

I'm not sure what you are saying. The FAQ details exactly what I did, as far as I can tell.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform