Page 2 of 2
Re: counting rows and colum
Posted: Fri Sep 23, 2011 7:20 am
by admin
Johan,
Neither do I,
I suggest that you try to understand what the code is doing, bit by bit.
Steven
Re: counting rows and colum
Posted: Fri Sep 23, 2011 9:13 am
by johan
Steven,
Why is the database (the nuBuilder part) used for video training not between the live demo's or in the the download at the bottom of the page Video Training ? That would make it a lot easier for me to understand the video training.
Thanks again
BTW I would like to download Build Number 11.09.19. But when I go to download I still got version 11.03.22.
Johan
Re: counting rows and colum
Posted: Fri Sep 23, 2011 11:46 am
by zazzium
BTW I would like to download Build Number 11.09.19. But when I go to download I still got version 11.03.22.
Here it is
http://sourceforge.net/projects/nubuild ... nubuilder/
It's like early Christmas... but better

Re: counting rows and colum
Posted: Fri Sep 23, 2011 11:48 am
by johan
great, thanks again,
Johan
Re: counting rows and colum
Posted: Mon Sep 26, 2011 11:35 am
by johan
Steven,
Me again;
I'm still trying to count. I was looking around in some java tutorials and find out what document.getElementByID should do.
I started my code with
Code: Select all
if (pthis.length == 18) {
//
PRE = pthis;
} else {
//
PRE = pthis.name.substring(0,18);
}
Using alert I get an object from the subform, this seems to be ok.
When I try the next step
Code: Select all
aantal = Number(document.getElementById(PRE+'fd_aantal'.value));
using alert I always get 0 instead of the value In the table. Do you have any idea what I'm doing wrong?
Thanks
Re: counting rows and colum
Posted: Tue Sep 27, 2011 5:05 am
by admin
Johan,
Code: Select all
aantal = Number(document.getElementById(PRE+'fd_aantal'.value));
I have underlined the fix to your problem in red..
Number(document.getElementById(PRE+'fd_aantal'
).value);
Steven
Re: counting rows and colum
Posted: Tue Sep 27, 2011 9:58 am
by johan
Steven
Solved at last.
The problem was in my PRE.
Thanks again for all your help.
Johan
Re: counting rows and colum
Posted: Wed Sep 28, 2011 2:22 am
by admin
Johan,
Well done!
Steven