Michael Andrus
17th June 2008, 17:58
Does anyone have working samples of the function text.copy.between.companies()? I've searched the forum and I can't find an explicit copy of the same text field in the same table from a source to a target company. I need to move the text along with the other data fields. Thanks.
NPRao
19th November 2008, 23:20
Michael,
I have not used it. But found the usage in the Baan std dll - tccomdll0025
function extern domain tctxtn tccom.dll0025.text.copy(
domain tctxtn org.txta,
domain tcncmp comp.org,
domain tcncmp comp.arch)
{
DllUsage
Expl: Copies text from original company to archive company
Pre:
Post:
Input: org.txta
comp.org
comp.arch
Output:
EndDllUsage
long ret
extern domain tctxtn org.txt.num
extern domain tctxtn new.txt.num
org.txt.num = org.txta
ret = text.copy.between.companies("new.txt.num", "org.txt.num",
comp.org, comp.arch, "", "", "", "", "", "")
return(new.txt.num)
}