Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jpg/bmp into general fiel... far into report
Message
De
19/12/2007 15:24:02
 
 
À
19/12/2007 14:37:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01276654
Message ID:
01276671
Vues:
27
>>>>>Here are the rules:
>>>>>#1: Never use general fields!
>>>>>#2: Store the filename in the table, and keep the pictures separate, or use a blob field to store the pictures
>>>>>#3: If you must use general fields, see rule #1.
>>>>>
>>>>>
>>>>>
>>>>>>Hi.. If I recall fine.. I saw somebody having a similar question..
>>>>>>
>>>>>>But, anyway here we go..
>>>>>>
>>>>>>I'd like to update my cursor's general field with photos.. every record point to an external jpg/bmp/png in a due folder..
>>>>>>
>>>>>>What is the best way to do it now... filetostr()? newobject()??
>>>>>>
>>>>Thanks for you replies.. maybe I did not make myself clear.. It is only a cursor to labeling purpose... after this I'll be keeping that on my folder separeted..
>>>
>>>Yes, but still there's no need for any general field. Store the filenames in the file, and the pictures as separate files.
>>
>>How could I produce dif. pictures on every record printed.. by now, I'm hacking the .lbx file... but, this process is not geting a satisfatory result for the end user...
>
>
>Add a Picture/OLE bound control to your label, and use yourtable.yourfield as controlsource. Control source type = "Expression or variable name"

Cooooool..... Quiet simple and easy.. and save us time... Fully recommendable!!


Many thanks...
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform