Hi experts!
I need to put a lot of text in fields of a new nav2015 table but in this version there are no BigText fields and the text is at most 250 characters. I have thought of using the BLOB fields but will not let me write the values just create them; In this version the TempBlob table has no function, I tried to copy the functions of the nav2017 WriteAsText and ReadAsText but they give compilation error.
I need that when you run the page the client can write the text in the Blob field.
Is there another way? How does this version manage the notes?
Thank you all very much.
0
Answers
TempBlob.blob.createoutstream(OutStreamObj);
OutStreamObj.WRITETEXT ('First line of text that you want to write to text file');
OutStreamObj.WRITETEXT ('This is not the second line of text to be outputed but to concatenate with the first line');
OutStreamObj.WRITETEXT(); // This command is to move to next line
OutStreamObj.WRITETEXT('Second line will start here') ;
message('HasValue: %1',tempblob.blob.hasvalue);
There is no WRITETEXT function in this release for an instream field
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Outstreamobj has no function ReadAsText
-I do not understand why if a field is BLOB subtype bitmap You can put the image directly in the field when you run the table without code and for the memo no-