cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kathomsen
Advocate I
Advocate I

Global Variables on (Run OnStart) are no longer working

I have an APP that quit retrieving the global variables on Run Onstart. This happened for no apparent reason and I cannot figure out how to troubleshoot it. I have reverted back to a previous version of the App (didn't solve it); I disconnected and reconnected the data sources (didn't solve it either); 

 

 

3 REPLIES 3
CapstoneAdmin
Advocate II
Advocate II

I was running into something similar, so I put it in the OnVisible of the first screen instead, and it seemed to work. Strange things. I do think that even when it wasn't working properly in the editor with the global variables in the OnStart, it might have still been working in the published version of the app for the users.

 

The other method you might try that has been a failsafe for me is to set the variables in the OnSelect value of a button, and set the Visible property of the button to false. Then, in the OnVisible of the first screen, put Select(Button1) to trigger the code.

 

Gotta love workarounds 🙂

Kathomsen
Advocate I
Advocate I

Resolved - I spotted the error.

 

Thanks for responding. I didn't look for enough down the on start code for a missing paren. (Sometimes the simplest of things trip you up after resolving more complex issues : )

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (89,173)