All subforms are unrelated to each other - there is only one common field with the date. All other forms work correctly, only the co_put table has problems. Is it possible to ignore the other forms?
I uploaded cogp.sql to another database.
Based on the loaded table cogp_tab, I created the form tab_cogp. Changed the fio field property - - no check for empty value.
I didn't touch the other forms. The problem form c_p behaves similarly to the problem described earlier, i.e. its behavior does not depend on other forms!!!!
It took 5 minutes...
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.
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.
Strange behavior of the Select field
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Strange behavior of the Select field
I changed the SQL of cogp_p from
to
and saving seems to work now.
Code: Select all
SELECT
co_put.*,
cogp_tab.*
FROM
co_put
JOIN cogp_tab ON co_put.p_tab = cogp_tab.tab_id
to
Code: Select all
SELECT * FROM `co_put`
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Strange behavior of the Select field
Kevin, thanks for spending your time on the weekend, but the line
JOIN cogp_tab ON co_put.p_tab = cogp_tab.tab_id
means that the co_put table receives the date from another table - cogp_tab. Also, 4 other subforms on this form receive the same date in the same way, and they work correctly.
There must be another reason for this behavior
JOIN cogp_tab ON co_put.p_tab = cogp_tab.tab_id
means that the co_put table receives the date from another table - cogp_tab. Also, 4 other subforms on this form receive the same date in the same way, and they work correctly.
There must be another reason for this behavior
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Strange behavior of the Select field
You do not have the required permissions to view the files attached to this post.
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Strange behavior of the Select field
Kevin, you won't believe this, but the problem was in the SELECT field.
I took the code from the help and assigned a list like this:
0|Loaded|1|Empty
After several days of torment, I simply brought the list to this form:
1|Loaded|2|Empty
You can’t imagine what my surprise was - everything worked correctly right away!!!
Of course, I will continue to watch, because I can’t believe such a glitch.
Thank you for participating !!!
I took the code from the help and assigned a list like this:
0|Loaded|1|Empty
After several days of torment, I simply brought the list to this form:
1|Loaded|2|Empty
You can’t imagine what my surprise was - everything worked correctly right away!!!
Of course, I will continue to watch, because I can’t believe such a glitch.
Thank you for participating !!!