How to Use BIGTEXT datatype in forms
sadynamics
Member Posts: 42
Hi Experts,
i want to store more than 1000 characters in one variable. it should be of text data type. i have put text but only 1000 characters are allowed. How to input more than 1000 char in one variable. Please let me know the data type for the same.
Thank you...
i want to store more than 1000 characters in one variable. it should be of text data type. i have put text but only 1000 characters are allowed. How to input more than 1000 char in one variable. Please let me know the data type for the same.
Thank you...
Luv,
Dynamics Lover
Dynamics Lover
0
Comments
-
The maximum length of text variable is 1024.Vikram Dabas
Navision Technical Consultant0 -
Yes i know that is there any work around is there...Luv,
Dynamics Lover0 -
variable -> Type BigText
To add values in the variable use BigText.ADDTEXT(Variable [,Position])
But this variable cannot be used in visual components.
For visialisation, you need an table or x Text variables or you go throug the value by using an loop
The Functions are (when u use F5):
1. LENGTH
Use this function to retrieve the length of a BigText variable.
Length (data type - Integer) := BigText.LENGTH
2. ADDTEXT
Use this function to add a text string to a BigText variable. The string can be inserted anywhere in the Variable or added at the end of the variable.
BigText.ADDTEXT(Variable [,Position])
The datatype of the variable should be Text or BigText.
If this 'Position' parameter is omitted, the string is added at the end of the BigText variable.
3. GETSUBTEXT
Use this function to retrieve part of a BigText variable.
[RetLength] := BigText.GETSUBTEXT(Variable, Position [,Length])
The RetLength is an Integer variable that gives you the Length of the Retrieved BigText.
4. TEXTPOS
Use this function to retrieve the position at which a specific string first occurs in a BigText.
Position := BigText.TEXTPOS(String)
5. WRITE
Use this function to stream a BigText to a BLOB field in a table.
The table you are writing to must contain a field of data type - BLOB.
You will have to declare an OutStream to write the data.
6. READ
Use this function to stream a BigText that is stored as a BLOB in a table to a BigText variable.
You will have to declare an InStream to read the data from the datatbase into the BigText variable.
7. To delete the content in a BigText variable use the CLEAR function:
CLEAR(BigText)
For more details, use Navision "C/SIDE Reference Guide".
BigText was primary introduced for to handle BLOB in XMLports.
The BLOBs will be converted with the BASE64 encoding so that there will be a very long string as result which can be exported by the XMLports.
BASE64 is one of the standards for E-Mail Attachments, so there should be many many tools for decoding the very very long text back into a BLOB.
hope its helpful.
RegardsDo you make it right, it works too!0 -
Hi garak,
thank you for the reply. can this be used in 3.7 version ? i believe there is no big text datatype in 3.7Luv,
Dynamics Lover0 -
sadynamics wrote:Hi garak,
thank you for the reply. can this be used in 3.7 version ? i believe there is no big text datatype in 3.7
3.7 does not have bigtext. It was released in 4.0...
Tino Ruijs
Microsoft Dynamics NAV specialist0
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
- 328 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
