Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
26%
500 - 800 GB
3%
800 - 1200 GB
9%
1200 - 1500 GB
11%
1500 - 2000 GB
14%
> 2000 GB
20%
Total votes: 35

Baanboard at LinkedIn


Reference Content

 
text.to.buf()
By patvdv at 26 Feb 2008 - 21:57


text.to.buf()

Syntax

long text.to.buf( string text_field(17), string lang, long nr_lines, ref
string buf(,) [, long rtf.text] )

Description

This stores the text of a specified text field in a two-dimensional string array.

Arguments

text_field

The name of the text field that must be retrieved. See Text fields: overview.

lang

This specifies the relevant language.

nr_lines

This specifies the maximum number of lines that can be stored in the buffer.

buf

This specifies the buffer in which the text must be stored.

rtf.text

Set this argument to true if you want the text to be stored in RTF format instead of ASCII format. This is possible only when using a text group that supports RTF data.

Return values

  • >0 : number of stored lines
  • 0 : error
  • -1 : no permission to store the text

Context

3GL library function.

This function stores the text of a buffer in the specified multiline text formfield. This is only relevant for multiline text formfields in a non-maintable session. An additional 'display' of this field is needed to see the changes on the form.

false

Related topics

0
No votes yet


All times are GMT +2. The time now is 16:17.


©2001-2018 - Baanboard.com - Baanforums.com