lli-baan
2nd September 2002, 16:35
Hi everybody!

I tried to fill a variable with the text of a label, but I couldn't found the way to do this! The label is a text-label. The variable is text, too. Does anybody now a function and can help please???

Juergen
2nd September 2002, 16:57
try to use the functions tt.label.desc() or get.field.label()

For more information or how to use these functions please
refer to the fantastic baanboard library.

Jürgen

lli-baan
3rd September 2002, 08:58
Hi!

Thanx, but I tried it and it doesn't work. Evertime I become the error: unresolved reference to function 'tt.label.desc()'


I included bic_tt!!!

Here is my code:
#include <bic_tt>

tt.label.desc("lhpms840501", 1, ifrm.dsca)

lhpms840501 is the label
ifrm.dsca is the variable in which the labeldesc should be stored!!!

CAN ANYBODY HELP PLEASE OR HAS ANYBODY AN EXAMPLE!!!!

Juergen
3rd September 2002, 09:31
Sorry,

I don`t check your profile first. Seems that just this function is not available in BAANIV.

Jürgen

lli-baan
3rd September 2002, 14:13
Sorry, was my fault. Next time with the BaaN-Version!!

Our Version is Baan IV c4

mark_h
3rd September 2002, 16:16
You might want to check out ottdllfindlabel and see if you can use any of those routines.

Mark

jvenderb
6th September 2002, 15:19
There is a workaround (not a nice one):
Make a message with the same content. You can ask the content with the function form.text$():

example: variable = form.text$("message.code")