Points: 7084

3/25/2018 4:15:27 PM

Parse a text string into the comment fields in SOP10106

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

On first glance, you might say 'that seems too easy to write about'... but give it a thought. 

If you have a custom text box:

And you're storing the content into SOP10106, you have to break it into 4 strings, (COMMENT_1, etc.) and then store the entire text in CMMTTEXT.

In the example above, we just parse on the vbCRLF chars and go on. But what about this one:

64 words, 419 characters. No vbCRLFs. What logic do we use now? We'll cover that. 

Version: All
Section: Visual Studio Tools for Dynamics GP,VBA,.NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables