Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I have many company logos on invoice
Message
De
26/02/2014 23:41:59
 
 
À
26/02/2014 14:59:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01595385
Message ID:
01595422
Vues:
51
>My customer doesn't want to buy a receipt printer. So invoices will be printed on standard 8 1/2" X 11" paper.
>
>They want me to have 3 copies of the same invoice per sheet.
>
>They want their company logo to appear on top of each invoices. The thing is that I'd prefer to create only one report for this. I know that it's where things get more complicated with the not OO report designer.
>
>So I want to create an FRX that could be used by this and other potential customers. So for example LOGO.JPG could be the name of the logo for each customers.
>
>I never had to play with the OO report environment in VFP 9. What would you suggest so I can accomplish this as fast and as easy as possible.
>
>I downloaded Report Sculptor and started looking a bit. Would it be easier to do my invoice with that tool?
>
>Or perhaps another tool would be better?
>
>Your feedback please.

I do it this way.
oLogo  = CreateObject('Image')

cLogoImage= LogoPictureName && PictureFileName Saved in table
if file(cLogoImage)
   oLogo.Picture=cLogoImage
endif
Insert a Picture / OLEBoundControl on Report

Control Source Type
Select - Expression or Variable Name
In Control Source = oLogo

In start of program define Public oLogo
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform