Welcome to the nuBuilder Forums!

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

Subform with specific numbers of records

Questions related to using nuBuilder Forte.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Subform with specific numbers of records

Unread post by gerese »

Kev1n ,

Work now ...
Sbform30.jpg


but ... after save the entire form I have this
Sbform40.jpg
If I continue to add records I have this
Sbform50.jpg


Thanks .
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Subform with specific numbers of records

Unread post by kev1n »

Are you calling the function when the form is loaded (in your form's custom code) ?
kev1n wrote: In addition, call subFormLimitNumberOfRows(); when the form is loaded.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Subform with specific numbers of records

Unread post by gerese »

I forgot ... :? :cry:

Yesssssssss ... work now .
My respects.
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Subform with specific numbers of records

Unread post by admin »

gerese,

You should be able to do it like this...

https://wiki.nubuilder.cloud/ ... ustom_Code


Steven
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Subform with specific numbers of records

Unread post by kev1n »

admin wrote:gerese,

You should be able to do it like this...

https://wiki.nubuilder.cloud/ ... ustom_Code


Steven
I think when the form is loaded, a new line is added nevertheless (because beforeinsertrow() is not called)
Last edited by kev1n on Tue Jun 02, 2020 5:39 am, edited 1 time in total.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Subform with specific numbers of records

Unread post by gerese »

admin wrote:gerese,

You should be able to do it like this...

https://wiki.nubuilder.cloud/ ... ustom_Code


Steven
Hi Steven,
I tested, but after saving the form I can add records in the subform.
All the best.
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Subform with specific numbers of records

Unread post by admin »

gerese,

You will need to hide the new row when the Form loads with Javascript...

Code: Select all

var sf = 'item_sf';
$('#' + sf + '010nuRECORD').hide();
Steven
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Subform with specific numbers of records

Unread post by gerese »

Work perfect ... thx Steven
BIG Like !!!
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Subform with specific numbers of records

Unread post by admin »

Cool.
Post Reply