web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Global Variable for ID...
Power Apps
Unanswered

Global Variable for ID not showing values until refresh or is delayed

(0) ShareShare
ReportReport
Posted on by 174

Hi,

 

I have set this variable on a gallerys onselect

 

Concurrent(
 Set(
 varMode,
 "Edit"
 ),
 Set(varID, ThisItem.UniqueID)
);
Navigate(DetailsScreen, ScreenTransition.None)
;

 

and in the forms item i have

LookUp(DailyList1, UniqueID = varID) 

 

Note * I have four forms with that code ie LookUp(DailyList2, UniqueID = varID) etc etc

 

My issue is the app has a delay so i click on the gallery and it will show nothing briefly and then show the correct data or it will show the incorrect data and then show the correct data after a few seconds. It has on occasion shown no values at all.

 

How can i rectify this?

 

Thanks

Categories:
I have the same question (0)
  • developerAJ Profile Picture
    4,632 on at

    @SomeoneAwesome 

     

    My issue is the app has a delay so i click on the gallery and it will show nothing briefly

     

    This happens because you are using form on new screen .Time will be taken for loading the controls and also all the formulas you used in control.

     

    and then show the correct data or it will show the incorrect data and then show the correct data after a few seconds.

    Try onvisible property of screen to resetform(formname); it will reset the form.

    you might be seeing the previous instance i mean to say i clicked on id-78 first than i went back i clicked on id-79 but i might see id-78 for small fraction of time but eventually it shows value with id-79.

     

    Please click Accept as solution and Thumbs Up. if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard