Shoaib Maroof
Shoaib Maroof

Reputation: 369

Edit Form displaying the same id from the first row in the Gallery

enter image description here

I am trying to pre-populate my EditForm1 by passing on my > button via OnSelect: Set(varSelectedRecord, ThisItem);Navigate(Screen2) that sits within the Gallery1

The EditForm1 has Item: varSelectedRecord

The result is the following. As you can see, its populating the PanelClass, Year, Month and Budget cards correctly. However, for some reason it still shows the Budget_ID as 1.

enter image description here

Respectively, this record should have/show a Budget_ID of 8 in this case.

Upvotes: 1

Views: 1182

Answers (1)

SeaDude
SeaDude

Reputation: 4375

Its either:

  1. The Default property of the Budget_ID column (should be set to Parent.Default) OR
  2. You need to add ResetForm(FormName); EditForm(FormName) to the OnSelect of the ">" in your gallery.

Report back here and let us know what you find.

Upvotes: 1

Related Questions