cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jlivio
Regular Visitor

OnVisible Apply Record Values from Gallery

Hi everyone,

 

Struggling hard with this.

 

I Have a page with some Text and ComboBox's controls, I'm trying to populate this controls from the Record selected in the Gallery in another page.

 

Ok I have the Record.

 

 

 

Navigate(GFMV_Visualizacao;ScreenTransition.None; {listafaturasmaterias_selected: GalFatutasListaInicial.Selected})

 

 

 

The problem is the OnVisible don't populate me any controls, for instance

 

OnVisible

 

 

 

TxtMytextBox.Text = listafaturasmaterias_selected.SomeField

 

 

 

This doesn't work for any control, besides if i Put TxtMyText.Text = "1" same behavior. If I Put OnVisible:

 

 

 

Notify(listafaturasmaterias_selected.SomeField, Sucess, 2000)

 

 

 

It Works

 

How can I Fill my Form (Page) with this values?, any clues? Bug? Bad user procedure?

 

Thanks,

Joao Livio

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @jlivio ,

You do not need to pass a Variable between screens - the Default of the Text box can simply be

galFatutasListaInicial.Selected.SomeField

 

Please click Accept as solution 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.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User III
Super User III

Hi @jlivio ,

You do not need to pass a Variable between screens - the Default of the Text box can simply be

galFatutasListaInicial.Selected.SomeField

 

Please click Accept as solution 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.

 

View solution in original post

In did, I don't, thank you, solved

I'm using for ComboBoxes

ForAll(GalFatutasListaInicial.AllItems; MyField)

 

Regards 

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!

Top Solution Authors
Top Kudoed Authors
Users online (77,440)