Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Writer in VFP3.0
Message
From
15/10/1996 21:26:33
 
 
To
15/10/1996 08:43:09
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00009672
Message ID:
00010148
Views:
46
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform