Considers a constant as the number of characters per line and the current line. It returns the next line of characters.
GXGetMLi(character, line , constant)
Specifies a long varchar, varchar or char field.
Specifies the number of characters per line.
Objects: Procedure, Transaction, Web Panel, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
Considering constant as the number of characters per line, it is able to return the next line of the character field.
- The font used to display the fields must be non-proportional.
- In order to use these functions, the Knowledge Base “Functions” Property must be set with the value “Allows non-standard functions on saving”.
The following example shows how to print the attribute attchar splited in lines of 40 characters each.
&nlin = GXMLines(attchar,40)
&i = 1
Do While &i <= &nlin
&txt = GXGetMLi(attchar,&i,40)
Print txtLines // (print block that prints &txt)
&i += 1
Functions that Manage LongVarchar Fields
Knowledge Base Preferences