Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Oracle
Divers
Thread ID:
01031873
Message ID:
01031886
Vues:
15
>The picture is located in the Summary band. And in the Picture Dialog box I have chosen File. I have created a cursor that has a field called cFile_location. The Path and file name is:
>
> 'C:\Signature_'+alltrim(table.fieldName) + '.JPG'
>
Are you saying that cFile_Location actually has the ALLTRIM stuff in? If so, you need to use EVALUATE(cFile_Location) to print the picture. Of course .. if that's the case, it makes me ask why the special cursor because you could just EVAL('C:\Signature_'+alltrim(table.fieldName) + '.JPG') the expression in the Picture File textbox instead of using a temp cursor to get the name.

Also remember, if there's ever a possibility that the picture name will be blank, add Print When logic to not print when the field is blank. Otherwise it will bomb trying to find a picture that doesn't exist.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform