I want to print a .bmp on a report and tried to use the 'Picture' and 'Image' control, but no luck. What should I use and where do you specify the path and filename.
Are you calcfields your picture.
Note: The same principal or importing pics on the fly to be shown in "item.picture" for example can also be used on reports.
Dataitem = Item
OnAfterGetRecord()
IF EXISTS ('c:\"Folder Where you store your pictures"\'+"No."+'.BMP')
THEN
Picture.IMPORT('P:\"Folder Where you store your pictures"\'+"No."+'.BMP',FALSE);
CALCFIELDS(Picture);
Add a picturebox in the section with sourcexp = Picture now the pics I show are 512k and larger!
Is it 2 GB per record ? Actually I try to import picture with size 1.98 GB in Contact Card and it results error :
"There is no enough memory to execute this function. If you work in a single-user installation, you can try reducing the value of the 'cache' program property. You can find information about how to optimize the operating system in the documentation for your operating system"
Comments
I recommend you to store bmp file to the database (BLOB) and print it by Picture box.
Note: The same principal or importing pics on the fly to be shown in "item.picture" for example can also be used on reports.
Dataitem = Item
OnAfterGetRecord()
IF EXISTS ('c:\"Folder Where you store your pictures"\'+"No."+'.BMP')
THEN
Picture.IMPORT('P:\"Folder Where you store your pictures"\'+"No."+'.BMP',FALSE);
CALCFIELDS(Picture);
Add a picturebox in the section with sourcexp = Picture now the pics I show are 512k and larger!
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.BiloBeauty.com
http://www.autismspeaks.org
Hi Mick,
Do you know about the maximum size of BLOB datatype? Thank you.
Johanna
Stores bitmaps and memos. Stored in BLOB area of table. Size 8 bytes plus size of BLOB data (max 2GB).
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Is it 2 GB per record ? Actually I try to import picture with size 1.98 GB in Contact Card and it results error :
"There is no enough memory to execute this function. If you work in a single-user installation, you can try reducing the value of the 'cache' program property. You can find information about how to optimize the operating system in the documentation for your operating system"
My free space is 42 GB. The memory is 4 GB.
Please advice. Thank you
Johanna