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.
Save the time of pressing the button on the form.
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Save the time of pressing the button on the form.
And the column Type in the DB?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Save the time of pressing the button on the form.
I did not understand where to look in the databasekev1n wrote:And the column Type in the DB?
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.
Last edited by kknm on Fri Feb 05, 2021 1:23 pm, edited 1 time in total.
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Save the time of pressing the button on the form.
Select your nuBuilder database, then the table that contains the column ves_vr.
Click on Structure
Click on Structure
You do not have the required permissions to view the files attached to this post.
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Save the time of pressing the button on the form.
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.
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Save the time of pressing the button on the form.
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.
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Save the time of pressing the button on the form.
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.
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.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Save the time of pressing the button on the form.
Wrong:
Correct:
Code: Select all
NuSaveAction ();
Code: Select all
nuSaveAction();
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Save the time of pressing the button on the form.
Yes, there was a mistake. Now everything is okkev1n wrote:Wrong:Correct:Code: Select all
NuSaveAction ();
Code: Select all
nuSaveAction();