Steven,
In a subform (deletable=no), If I change a field value in one row and save, a new one blank record is added into the subfrom. If I change a field value in two rows and save, two blank records are added into the subfrom, and so on. Also, all new values in the rows are not saved. If the subform becomes (deletable=yes) there is no problem...
Is it possible to make changes without new blank records to be added?
Thanks for your time,
flsd
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Is a not deletable subform not rewritable?
Re: Is a not deletable subform not rewritable?
flsd,
Steven
You can set blank rows to zero.Is it possible to make changes without new blank records to be added?
Are any getting saved?all new values in the rows are not saved.
Steven
-
- Posts: 32
- Joined: Tue Jul 03, 2012 6:50 pm
Re: Is a not deletable subform not rewritable?
Steven
To add or delete lines in the subform works fine but all changes to existing ones disappear.
flsd
To add or delete lines in the subform works fine but all changes to existing ones disappear.
flsd
Re: Is a not deletable subform not rewritable?
flsd,
Does it happen with other subforms you have? - can you give that a go?
(I have no idea)
Steven
Does it happen with other subforms you have? - can you give that a go?
(I have no idea)
Steven
-
- Posts: 32
- Joined: Tue Jul 03, 2012 6:50 pm
Re: Is a not deletable subform not rewritable?
Steven,
I think, it's also happens in 'GL-Transactions' in 'samplenufinancial' database.
flsd
I think, it's also happens in 'GL-Transactions' in 'samplenufinancial' database.
flsd
Re: Is a not deletable subform not rewritable?
flsd,
In 'GL-Transactions' values get copied to a hidden field.
I don't think its the same thing.
(I don't know what to say)
Try to break other subforms.
Steven
In 'GL-Transactions' values get copied to a hidden field.
I don't think its the same thing.
(I don't know what to say)
Try to break other subforms.
Steven
-
- Posts: 84
- Joined: Mon Jul 04, 2011 12:52 am
Re: Is a not deletable subform not rewritable?
flsd,
try to set deletable=yes, and hide delete checkboxes
custom javascript:
..however the "Delete" text remains in subform
try to set deletable=yes, and hide delete checkboxes
custom javascript:
Code: Select all
function nuLoadThis() {
var subform_name = "subform_name";
var sub_value = Array();
sub_value = nuSubformRowArray(subform_name);
for(var i = 0 ; i < sub_value.length; i++)
{
$('#row'+sub_value[i]).hide();
}
}