To get around the issue Alpha 5 has with "auto increment" of a parent table of a set in a multi-user environment, I have added an OnInit to "Save" the parent upon enter, the open in change mode, then added a "Cancel" button that will fill a few fields that identify it as such. this way, there are no unexplained gaps in the sequence, but I don't have child rows "cross talking' either.
The button uses a mix of inline xBasic and Action Scripting. I am setting three fields to values that will identify it as a cancelled Invoice. Using the genie, I select the "Set Value Properties of Fields()." I select the the fields from the object list that Alpha presents in the Action Scripting genie, so I know they're there, spelled correctly, etc.
Two of the fields work fine. One doesn't. When activated (OnPush) the other values are modified, but the one in question returns an "On Push" error of "ParentForm:fieldname not found."
The field in question and one of the others are "Lookups." One works, the other doesn't.
My "Assumption" is, if the field is presented as an option from the Action Script genie, and its in the Object viewer, the genie should see it.
Now, I was going to send this post from here, but decided to try one more thing. The field was in an area below the "footer" line, so I move it up in to the "detail" portion. Suddenly, the "set" now works! Confused, I moved it back again below the footer line and it stopped working again!
Any ideas? The "footer" area contains totals and such. Is it "Off Limits" until it entry progress takes the user there?
The button uses a mix of inline xBasic and Action Scripting. I am setting three fields to values that will identify it as a cancelled Invoice. Using the genie, I select the "Set Value Properties of Fields()." I select the the fields from the object list that Alpha presents in the Action Scripting genie, so I know they're there, spelled correctly, etc.
Two of the fields work fine. One doesn't. When activated (OnPush) the other values are modified, but the one in question returns an "On Push" error of "ParentForm:fieldname not found."
The field in question and one of the others are "Lookups." One works, the other doesn't.
My "Assumption" is, if the field is presented as an option from the Action Script genie, and its in the Object viewer, the genie should see it.
Now, I was going to send this post from here, but decided to try one more thing. The field was in an area below the "footer" line, so I move it up in to the "detail" portion. Suddenly, the "set" now works! Confused, I moved it back again below the footer line and it stopped working again!
Any ideas? The "footer" area contains totals and such. Is it "Off Limits" until it entry progress takes the user there?
Comment