How can I limit subform rows to 10?
Posted: Wed May 06, 2015 12:26 pm
Hi,
Is there a way to limit the number of rows in a subform?
Thanks!
Is there a way to limit the number of rows in a subform?
Thanks!
Code: Select all
var n = '#tttsf'; //-- subform name (make sure you have no other subforms with this name in your application)
var f = n + '0010_nuRow';
var c = String(nuSession.addSubformRow);
var s = c.substr(17,c.length-20) + ";\n\t\t$('" + f + "').css('visibility','hidden');\n}";
eval('nuSession.addSubformRow = function(pthis){' + s);