Page 1 of 1

input Field in Table - RDMLX

Posted: Fri May 30, 2014 8:33 pm
by kno_dk
Hi.

I am creating a order entry app in lonrange Lansa RDMLX. I have made a copy of LRDM0003 and I want to have an input field in each row in the table. I have add this ÆCOM_OWNER.Set_TextBox Name(ORDERA) Datatype(Number) Onvaluechange(ORDERCHANGE) Maxlength(5) Placeholder('Antal') to the row.
When I get the action ORDERCHANGE I want to run thoug the table and create the order line with the number. In the table I want the order line number, as a hidden field , so I can get this if they change the number.

I have tried a lot of things but it can not get this "hidden field to work with the copy of LRDM0003. Could you please advise how to do it or post a changed LRDM0003 wher it have the input and hidden field in it.

Re: input Field in Table - RDMLX

Posted: Mon Jun 02, 2014 6:01 pm
by Paul
Would setting a row id achieve what you want?

In RV 16 the CurrentRowID property can also be set.

Re: input Field in Table - RDMLX

Posted: Mon Jun 02, 2014 6:26 pm
by kno_dk
Hi
I have tried that. But this exsample each row in the table is a subform (i think) and I have not been able to get any value back into the CurrentRowID. I have tried so much but without any luck. I hope somebody has made a working source from the LRDM0003 and they would share it with me.

Other solutions are also welcome.

Re: input Field in Table - RDMLX

Posted: Tue Jun 03, 2014 6:19 am
by stevec
To get the row id's when row not clicked do this:

for id 1 use %1
#Com_Owner.Get Property(#TableRow + '.ID%1') Into(#uText)

for id 2 use %2
#Com_Owner.Get Property(#TableRow + '.ID%2') Into(#uText)

Re: input Field in Table - RDMLX

Posted: Tue Jun 03, 2014 4:33 pm
by kno_dk
Thanks.

now it works.

Re: input Field in Table - RDMLX

Posted: Thu Jun 19, 2014 10:09 am
by Paul
This issue is discussed further here..

http://longrange.lansa.com.au/viewtopic.php?f=11&t=341

.