Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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: 4565
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 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: 4565
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: Subform with specific numbers of records

Unread post by admin »

Cool.
Post Reply