If you create a Combo and tie it to TransView, when you check the table in DevTools, you see that it is an entry in the table.
If you create a TextBox and tie it to TransView, it does not show up in the table until you enter a value in the TextBox. This means that anything referencing that field does not fire (like a Row Rule) because it is not in the table.
I usually add an event that fires after form_onload … or when the textbox in question is created … in that event is just a row-update setting the value to ''
That way, it has a value, but the value is nothing…
Similarly, I use 0 for a numeric box
Ok, now I am just a big old whining baby, but this is so stupid! You can’t use any of the tools because the field is not bound to an actual field. So, you put in a space and now there will be an extra space in the field when a user enters something.
Yeah, I put in two single quotes with nothing between … it sort of looks like there’s a space there, because code-text is monospaced (every character has the same width)
‘’ ''
Ok, did some more testing, and the Row Rule will not change a field FROM disabled TO open. That is one of my problems. Another problem is that I had the Personalizable unchecked for those text boxes.
So, I tried and tried to get this to work, and it would not. Finally realized that the event I was using it after did not fire. It was Slider-Open, and no matter what I did, it would not fire the next event. So I moved it in front of Slider-Open and
I found that if I add fields to TransView I have to save the application then exit application studio completely then go back in to see it. After that it is fine and I can use it in events and functions.
Now I can bind to it a text box even set it with an event using results from a function but the row rules can not see any of the TransView fields so I cannot put a data rule on it.
I can initialize it with an event
I can update it with an event using a function to change the value - I thought this would be the hard part.
I can verify its changed as I can see it in the text box
But the data rule wizard does not show any of the TransView fields?
If I manually type the field name in it disappears
And of course I can see the fields in the data view itself.