Page 1 of 1

LREX0304: Offline searching sample in V12

Posted: Thu Feb 06, 2014 10:12 am
by Siyaman
Hi,

I'm working through the LongRange offline samples in Visual Lansa V12. It seems that V12 does not support #Com_Owner.Set_{action} calls such as

Code: Select all

#Com_Owner.Set_Binding Name('SEARCHVALUE') Property(VALUE) Bindtotype(GVAR) Bindto('LREX0304_SURNAME')
so I'm trying to use the alternative

Code: Select all

#Com_Owner.Set  Property('SEARCHVALUE.VALUE.&.GVAR') To('LREX0304_SURNAME')
but when I try to run this code inside LongRange I get the following error
" Error Code = 10005. Character '&' is not allowed in property names. Allowed characters are alphanumeric and underscore '_' "
It seems that I cannot have & in the Property field. How would I do property bindings in V12 so I can run the LREX0304 code.

Thank you,

Re: LREX0304: Offline searching sample in V12

Posted: Thu Feb 06, 2014 10:41 am
by Paul
Hi Siyaman,

Make sure you have the latest versions of the software. See this post for all the details.

http://longrange.lansa.com.au/viewtopic.php?f=13&t=226

Regards,
Paul