Hello,
I wrote an RPG program that loads accounting periods to app variables. So variable PER01 = 202410, PER02 = 202411, PER03 = 202412, etc. When I click a cell on my grid I have it linked to an event that sets the AcctPeriod variable to the value I loaded into PER01, etc. The problem is the AcctPeriod variable doesn’t update inside the event. At step #1 in the setPER03 event, I set the AcctPeriod to PER03 and change the Appbar title to show the new value, but the Appbar title shows the previous AcctPeriod value. I viewed this in the developer console and the AcctPeriod value was updated but the Appbar title and the filter keep using the old value. Im trying to let the user click on a cell and set the filter so that it will only retrieve records for the correct account and period.
Thanks,
Bruce
dataurl154810.jpg
dataurl154812.jpg
?
I wrote an RPG program that loads accounting periods to app variables. So variable PER01 = 202410, PER02 = 202411, PER03 = 202412, etc. When I click a cell on my grid I have it linked to an event that sets the AcctPeriod variable to the value I loaded into PER01, etc. The problem is the AcctPeriod variable doesn’t update inside the event. At step #1 in the setPER03 event, I set the AcctPeriod to PER03 and change the Appbar title to show the new value, but the Appbar title shows the previous AcctPeriod value. I viewed this in the developer console and the AcctPeriod value was updated but the Appbar title and the filter keep using the old value. Im trying to let the user click on a cell and set the filter so that it will only retrieve records for the correct account and period.
Thanks,
Bruce
dataurl154810.jpg
dataurl154812.jpg
?
