Re: A_Case-> in calc expressions on forms.
This is posted in the hope it might help Alpha troubleshoot (as in a previous post, it appears Selwyn was requesting video and/or screen shots).
I used Expression Builder to create the Calculated Field.
A screenshot of the Expression Builder with valid expression ("VALID") is attached.
As can be seen in the screenshot, Expression Builder declares the expression valid, correctly interprets the return type as N and correctly calculates the dbsum against the desired column, yielding 33.
I click on OK to close Expression Builder; I then see the correct expression in the Field Properties form ("VALID2"), and click OK to close Field Properties.
NOW I run the form. The field on the form comes up blank (where it should display 33).
I switch back into Design mode, right-click on the calculated field (on the form), and select Properties.
What I then see ("PROPERTIES") makes no sense, as the expression is now prepended with *BAD_EXPR and the KEY_VALUE has been changed to A_CASE->case_id (there is NO table A_CASE).
Then, upon launching the Expression Builder, I see the expression has been changed ("INVALID"), as attached.
P.S. I've also experienced problems of late with Alpha sometimes "forgetting" Global Variables as defined through View>Global Variables. Please note: it's not that it forgets the VALUE of the variable... it forgets that the definition exists. Thus, as I create my Global Variable today, as I open the project tomorrow, the Global Variable will no longer be present!
This is posted in the hope it might help Alpha troubleshoot (as in a previous post, it appears Selwyn was requesting video and/or screen shots).
I used Expression Builder to create the Calculated Field.
A screenshot of the Expression Builder with valid expression ("VALID") is attached.
As can be seen in the screenshot, Expression Builder declares the expression valid, correctly interprets the return type as N and correctly calculates the dbsum against the desired column, yielding 33.
I click on OK to close Expression Builder; I then see the correct expression in the Field Properties form ("VALID2"), and click OK to close Field Properties.
NOW I run the form. The field on the form comes up blank (where it should display 33).
I switch back into Design mode, right-click on the calculated field (on the form), and select Properties.
What I then see ("PROPERTIES") makes no sense, as the expression is now prepended with *BAD_EXPR and the KEY_VALUE has been changed to A_CASE->case_id (there is NO table A_CASE).
Then, upon launching the Expression Builder, I see the expression has been changed ("INVALID"), as attached.
P.S. I've also experienced problems of late with Alpha sometimes "forgetting" Global Variables as defined through View>Global Variables. Please note: it's not that it forgets the VALUE of the variable... it forgets that the definition exists. Thus, as I create my Global Variable today, as I open the project tomorrow, the Global Variable will no longer be present!
Comment