Who see picture form directory extern
cpina
Member Posts: 52
It is possible to assign a direction(address) of file to a control picture box or image.
Thank you
Thank you
0
Comments
-
Hi,
No, it is not possible. But some time ago, I think, it was Navision 3.60, there were manufacturing menu with flowcharts. The main idea of this flowchart was to place controls on the form and import previously saved bitmap.
Link to Graphical Navision Demo tool: http://www.mibuso.com/dlinfo.asp?FileID=349Andrejs Muraskins0 -
You can create an empty blob field in some table (i used the company information table to add a few blob fields which stay empty except for at runtime) when you wish to show the picture from your hard drive (or network drive) you can import the picture internally to the BLOB field and show it, and when you close the form or report the blob will be cleared and hence will not take the space in the database.Saro0
-
Saro wrote:You can create an empty blob field in some table (i used the company information table to add a few blob fields which stay empty except for at runtime) when you wish to show the picture from your hard drive (or network drive) you can import the picture internally to the BLOB field and show it, and when you close the form or report the blob will be cleared and hence will not take the space in the database.0
-
Saro wrote:You can create an empty blob field in some table (i used the company information table to add a few blob fields which stay empty except for at runtime) when you wish to show the picture from your hard drive (or network drive) you can import the picture internally to the BLOB field and show it, and when you close the form or report the blob will be cleared and hence will not take the space in the database.
Can you explain this a bit more.
I've been playing around with keeping all my item pics in a mapped drive called p:\ (for pictures)
I would like the pic to import into Item.Picture BLOB only when needed.
The perfect place would be OnAfterGetRecord but you can't modify the database from this trigger.
Or
Get Pic OnOpenForm & Clear pic OnCloseForm doesn't work either. can you explain a bit more your solution thanks.
Meanwhile I'll check up on this
Real-time Multiformat Picture Convertor JPG & GIF
http://www.mibuso.com/dlinfo.asp?FileID=920 -
Nevermind
[Item Card]
OnAfterGetRecord()
SETRANGE("No.");
PictureExists := Picture.HASVALUE;
IF EXISTS ('P:\'+"No."+'.BMP')
THEN
Picture.IMPORT('P:\'+"No."+'.BMP',FALSE);
CALCFIELDS(Picture);
Works Fine.
& My Database size dropped by 4% \:D/ after deleting all the item pictures saved in the BLOB0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 329 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