Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

nuGetRowObjectValue dont work loopkup

Locked
Hawkman
Posts: 2
Joined: Wed Nov 21, 2012 8:20 am

nuGetRowObjectValue dont work loopkup

Unread post by Hawkman »

Code: Select all

document.getElementById('hidden_fabid').value = nuGetRowObjectValue('albd_concepto_id');
This works well if the field is type text, but does not work if lookup type. How I can get the value of lookup code?

Sorry for my bad English
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nuGetRowObjectValue dont work loopkup

Unread post by admin »

Hawkman,

If albd_concepto_id is the lookup id, codealbd_concepto_id is the code.

I hope this helps

Steven
Hawkman
Posts: 2
Joined: Wed Nov 21, 2012 8:20 am

Re: nuGetRowObjectValue dont work loopkup

Unread post by Hawkman »

Thanks, solved, this was what I wanted

Code: Select all

document.getElementById('alb_facturado').value = document.getElementById('code'+nuGetRow()+'albd_cantida').value;
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nuGetRowObjectValue dont work loopkup

Unread post by admin »

.
Locked