Information générale
Catégorie:
Groupes d'usagers
>>I want to use the bitmaps with another application, but I don't want to keep two copies of bitmaps. I have 4000 of personal record, so the table size will be very large if I use a general field.
>
> just keep the file name in the table
>when u want to print a report create a cursor (with a general field)
>and fill in the pictures from the stored files
>
>Arnon
No need for a cursor. If you have the file name of the bitmap in a dbf field (BMPName), just make an "Picture/OLE bound conrol" object in your report and set it to file, where file is the name of the field (BMPName). (you don't have to specify the file, a variable or field containing the file name is OK). You must be sure that the field is not empty, e.g. set "print when" to "not empty(BMPName)".
It's working fine.
Vlad
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