Printing a .bmp on a report

ireneg
Member Posts: 30
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.
Thanks
Irene
Thanks
Irene
Irene Grassow
0
Comments
-
image control on report, in the properties, for bitmap value = pathkind of fell into this...0
-
You can specify the filename in Bitmap property (Image) or BitmapList (Picture). But maximum allowed size of bmp file is 32.756 bytes.
I recommend you to store bmp file to the database (BLOB) and print it by Picture box.0 -
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!0 -
also if you search for LOGO or PICTURE you'll find a lot more posts - to guide you0
-
Mick01 wrote:You can specify the filename in Bitmap property (Image) or BitmapList (Picture). But maximum allowed size of bmp file is 32.756 bytes.
I recommend you to store bmp file to the database (BLOB) and print it by Picture box.
Hi Mick,
Do you know about the maximum size of BLOB datatype? Thank you.Best regards,
Johanna0 -
BLOB (Binary Large Object)
Stores bitmaps and memos. Stored in BLOB area of table. Size 8 bytes plus size of BLOB data (max 2GB).0 -
Thanks Mohana
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 youBest regards,
Johanna0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions