Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available 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: 2783
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 3 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: 2783
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 3 times

Re: nuGetRowObjectValue dont work loopkup

Unread post by admin »

.
Locked