input Field in Table - RDMLX

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
kno_dk
Posts: 45
Joined: Wed Oct 17, 2012 4:19 am

input Field in Table - RDMLX

Post 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.
Paul

Re: input Field in Table - RDMLX

Post by Paul »

Would setting a row id achieve what you want?

In RV 16 the CurrentRowID property can also be set.
kno_dk
Posts: 45
Joined: Wed Oct 17, 2012 4:19 am

Re: input Field in Table - RDMLX

Post 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.
stevec
Posts: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: input Field in Table - RDMLX

Post 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)
kno_dk
Posts: 45
Joined: Wed Oct 17, 2012 4:19 am

Re: input Field in Table - RDMLX

Post by kno_dk »

Thanks.

now it works.
Paul

Re: input Field in Table - RDMLX

Post by Paul »

This issue is discussed further here..

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

.
Post Reply