Text Problem (writing text from custom session) Baan IVc4
have a custom session which writes records out to a custom table. I want to write text out to the text tables when I write out a record to the custom table. The text is a combination of two fields for the record to be written out. I thought I could use the text.write command, replacing the file parameter with the combined field which is called test_text. However, it only writes out an entry to the tttxt001 table, not to the tttxt002 or tttxt010 tables. Is there a way to take data from fields and write this out to the text tables, without having to create a file to output it to? My example is below:
l.ret = text.write("pxpur001.txta","2","Purchase","Header Text", display.ffno,"","text","text",test_text)
pxpur001 is my custom table. It does create the text number in the pxpur001.txta field, which relates to the tttxt001 table. It does not create the text in tables tttxt002 or tttxt010 tables.
Any help would be greatly appreciated.