Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

How to display Image from File Path Name without using BLOB

$
0
0

Excuse me, im new in this forum and learning NAV's

Here is my problem,

It seems i cant display any picture from a path name eg: C:\test.jpg to a specific field in a page. ive been try using some

InStream and Declare it as BigText, but i didnt found any type of variable to load an InStream data to a field. heres my latest try :


IF NOT ISSERVICETIER THEN
   EXIT;
FileToDownload := 'C:\try.bmp';
FileVar.OPEN(FileToDownload);
FileVar.CREATEINSTREAM(IStream);
BStr.READ(IStream);
FileVar.Close;

 

when im try to use BStr as Sourceexpr its just give a text, how can i display the picture from InStream without using XML DOM or  inserting to record as BLOB, or its not possible for me to do this? thanks for your reply.

 


Viewing all articles
Browse latest Browse all 15740

Latest Images

Trending Articles



Latest Images