Page 3 of 3
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 12:23 pm
by kev1n
And the column Type in the DB?
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 1:12 pm
by kknm
kev1n wrote:And the column Type in the DB?
I did not understand where to look in the database
I am working in an edit-form which has many subforms. The main table of this form does not have a field for the time of other minor calk elements (column sums) for the subforms, although there are many of them.
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 1:18 pm
by kev1n
Select your nuBuilder
database, then the
table that contains the column ves_vr.
db_1.png
Click on
Structure
db_2.png
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 1:26 pm
by kknm
I am working in an edit-form which has many subforms. The main table of this form does not have a field for the time of other minor calk elements (column sums) for the subforms, although there are many of them.
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 1:31 pm
by kknm
I got it ... Created a field for time in the main table and everything works correctly. It was confusing that the multiple fields in calk are working as expected, even though they are not in the main table.
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 2:29 pm
by kknm
Was happy early ... with such a function
Function getCurrentTime (a) {
Var d = new Date ();
Var df =
NuPad2 (d.getHours ()) + ':' +
NuPad2 (d.getMinutes ());
$ (a) .val (df) .change;
NuSaveAction ();
}
The time value appears but is not saved when called on the button.
object_3.png
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 4:16 pm
by kev1n
Re: Save the time of pressing the button on the form.
Posted: Fri Feb 05, 2021 9:00 pm
by kknm
kev1n wrote:Wrong:
Correct:
Yes, there was a mistake. Now everything is ok