jaycee99
19th June 2008, 05:37
For example, I have a field tdsls401.txta (tctxtn). I want this field to be appear in string field which is item.description. Is there anyway to do this?

günther
19th June 2008, 08:51
Have a look at the function text.to.buf() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_text_fields_text_to_buf); in your case: text.to.buf("tdsls041.txta", language$, 1, item.description) to retrieve one line in the current language.

Günther

jaycee99
19th June 2008, 11:14
Error: Unresolved reference to function 'text.to.buf'
What is the proper to write this?
I tried,
function get.item.desc()
{
string a
a = text.to.buf("tdsls401.txta", language$, 1, item.description)
}

günther
19th June 2008, 11:16
You need #include <bic_text>.

Günther