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
18%
200 - 500 GB
26%
500 - 800 GB
3%
800 - 1200 GB
9%
1200 - 1500 GB
12%
1500 - 2000 GB
12%
> 2000 GB
21%
Total votes: 34

Baanboard at LinkedIn


Reference Content

 
text.copy.between.companies()
By patvdv at 26 Feb 2008 - 21:57


text.copy.between.companies()

Syntax

long text.copy.between.companies( string text_field_to(17), string
text_field_from(17), long source_company, long target_company, string kw1(17),
string kw2(17), string kw3(17), string kw4(17), string tgroup(8), string
edit_opt(15) )

Description

This copies the entire text of a specified text field, for all languages, from one company to another.

Arguments

text_field_to

The name of the new text field. See Text fields overview. This returns the text number for the new text field.

text_field_from

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

source_company

This specifies the source company.

target_company

This specifies the destination company.

kw1 to kw4

Use these arguments to specify key words for the new text. If you specify one or more of these arguments as an empty string, the corresponding key word(s) are copied from the original text. It is possible, for example, to specify two new key words and to copy the other two from the original text.

tgroup

This specifies the name of the text group to which the new text must be assigned. If you specify an empty string here, the text is assigned to the user's default group.

edit_opt

This specifies the type of window in which the text must be displayed.

Return values

  • >0 : success; returns the number of lines copied
  • -1 : error;
  • -2 : No text copied.

In case of textauthorizations are set to "Use" value of textnumber in variable tm.field.from has been assigned to tm.field.to.

Context

3GL library function.

Related topics

0
No votes yet


All times are GMT +2. The time now is 18:45.


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