Hi
How much maximum length can be given for Code DataType variable.
Thanks
*This post is locked for comments
If used as a field in table then: 250
If used as variable in C/AL code then: 1024
You can use the function MAXSTRLEN(Field or Variable Name)
Ref: erpinfos.blogspot.com/.../microsoft-dynamics-nav-string-function.html
msdn.microsoft.com/.../dd355278.aspx
The link is the MSN there are all of the basic concepts your need.
Regards
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Saurav.Dhyani 2 Super User 2025 Season 2
RK-25090803-0 1