I have a weird thing happening on a form where as soon as I select a value for one attribute another disappears. Then when I do a 'Save form on selection change' on another attribute is reappears. Here are some partial screen shots that show what is happening...
This is the way the screen looks when I am creating a new record:
Then I enter a Event date and select an Employee. As soon as I select the employee this is what the screen looks like:
Then I select the Report Purpose and I have it set to do a Save form on selection change'. When it saves the form the field reappears, as follows:
Any ideas on what might be happening?
Disappearing attribute on form
Re: Disappearing attribute on form
you have a READ PROTECT rule that is firing.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Disappearing attribute on form
Well, that was my original thought too. I do have a read protect on one of the 'tabs' at the top of the form, but nothing on the attribute that is disappearing.
Re: Disappearing attribute on form
Did you try to use "Find references" for the attribute that disappears?Jhstephenson wrote: ↑Tue Jan 04, 2022 9:07 pm Well, that was my original thought too. I do have a read protect on one of the 'tabs' at the top of the form, but nothing on the attribute that is disappearing.
This is incredibly useful when troubleshooting. It will display all rules and other places where the attribute is mentioned.
P.S: Didn't know READ PROTECT was possible for tabs. You mean "Not present when", right?
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Disappearing attribute on form
You are correct, it is not a READ PROTECT on the tab, it is just a PROTECT.
I have looked through all of the references on that attribute and do not see anything that would cause it to disappear/reappear.
A couple of other odd things with this attribute that is disappearing...
1. It is the first attribute on the form. It is not set to be calculated, but it is set to have an initial value of CURRENT_TIMESTAMP. When I enter the form the cursor automatically positions on the Event_Date attribute, not the Report_Date attribute. None of the attributes on this form have a Tab Order value defined for them.
2. Once the record has been created, if I modify the Report Date attribute it also disappears, until I save the record. Then it reappears.
I have looked through all of the references on that attribute and do not see anything that would cause it to disappear/reappear.
A couple of other odd things with this attribute that is disappearing...
1. It is the first attribute on the form. It is not set to be calculated, but it is set to have an initial value of CURRENT_TIMESTAMP. When I enter the form the cursor automatically positions on the Event_Date attribute, not the Report_Date attribute. None of the attributes on this form have a Tab Order value defined for them.
2. Once the record has been created, if I modify the Report Date attribute it also disappears, until I save the record. Then it reappears.
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
[Solved (Kind of)]Re: Disappearing attribute on form
We came up with a fix for this issue, but I still don't understand why it is happening...
I just added a separator/end pair to the top of the form, with the width set to 100%, Not Collapsible, and no title for it and now that attribute stays where it should.
It works, but why should it even be necessary?
I just added a separator/end pair to the top of the form, with the width set to 100%, Not Collapsible, and no title for it and now that attribute stays where it should.
It works, but why should it even be necessary?