Hi!
I'm having some trouble with a global variable. When I try to set the value using an IF or a Switch statement, it'll return blank. I have different user access levels. When a user opens the app, I lookup the user's email in a table and find the access level (varAccessLevel) (1 for region level and 2 for district level) and the location ID (varTransitNumber). I need to setup the variable varRegionTransitId. If the access is at Region level, varRegionTransitId should be the same as varTransitNumber. If it's district level, then I need to search on another table for the region ID.
I'm attaching some screenshots of this. Here, when looking at the Switch statement, it shows that it evaluates it correctly (first image), but when looking at the variable, it displays blank (second image). Hope someone can help. Thanks!
