Hi,
May I use getlabel() to load value label from external dictionary?
LHHLANGUAGE is a variable in an external dictionary named HHLISTING. I tried to use the following code to get the value label, but then i got error message "ERROR: Dictionary object expected near line 42 in CNULL_FF procedure".
getlabel( LHHLANGUGE,LHHLANGUGE(i) )
Is that possible to do that?
best
Jing
use getlabel to load value label from externational dictiona
Re: use getlabel to load value label from externational dict
getlabel does work with external dictionaries. I just tested it to make sure. Hard to say why you are getting that error without seeing your dictionary and your application. From the error seems like CSPro doesn't think LHHLANGUAGE is a dictionary variable so it could be misspelled, could be that the dictionary hasn't been added to the application. You could also try using the dictionary name too in case the same symbols is defined somewhere else i.e. HHLISTING.LHHLNAGUAGE
Re: use getlabel to load value label from externational dict
Thanks Josh,
I will test the program see if it works, as least it can compile now.
best
Jing
I will test the program see if it works, as least it can compile now.
best
Jing