How Can I Use strings with more of 255 characters Hopefully, Somebody can help me Thanking you all in advance
Hi, Can you tell us what kind of text you want to store? There is a lot of ways to do it (BLOB, comments, 2 fields of 255, etc.). With more details, we’ll be able to suggest the best way to do it
I need to use a Datatype BLOB
Take a global variable of 1024 chars(maximum limit) and show it on the screen. Accept the value, then with the code, bifercate the value into 255 chars and store in 4 diferent fields. I hope it will work. Cheers
From the c/side reference guide: BLOB A BLOB (Binary Large Object) is a complex data type. Variables of this data type differ from normal numeric and string variables in that BLOBs have a variable length. The maximum size of a BLOB is normally determined by your system’s disk storage capacity. However, the maximum size in C/SIDE is 2GB. Comments Use BLOBs to store memos (text), pictures (bitmaps) or user-defined types, but note that C/SIDE cannot display text stored in BLOBs. You can read from and write to BLOBs by creating input and output streams, respectively. To do so, use CREATEINSTREAM and CREATEOUTSTREAM. More information: InStream and OutStream …Good search!
Hi domenico, how can i solve the problen in navision2.60 ? CREATEINSTREAM and CREATEOUTSTREAM does not exist.
If you use a BLOB to save the text, you can use BLOB.EXPORT and BLOB.IMPORT functions that will export and import data to and from file. … and an external text viewer or editor (like Notepad) to view and edit contents of the BLOB.