cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kishama
Helper I
Helper I

Datatable + DetailForm + EditForm

Hello friends,

I tell you that I have a problem mainly with my datatable, but it interacts with my detailform and my editform. This is the sequence:

 

1. I click on the idticket in my datatable

kishama_3-1654877888693.png

2. It shows me the Detailform screen with the selected data. On this screen I have the option to Go Back, Delete and Edit.

kishama_4-1654878333810.png

3. When I click on edit, it shows me the editform screen with the previously loaded data. On this screen I have the option to cancel and save.

kishama_5-1654878506529.png

4. When I click save, I return to the editform screen but (here the problem) initially it loads the ticket that I have edited, however seconds later it shows me the first ticket of my datatable, and when I return to the datatable the first idticket is selected by default.

kishama_7-1654879711235.png

Apparently the error is when I click save and return to the editform screen, since the idticket that I had selected in the datatable is lost and since the editform is linked to the datatable, it finally loads the first idticket by default.

 

I also just noticed another error.
In my ticket table I have the usuario and cliente fields, but I store the idestadoticket, idusuario and the idcliente.

kishama_10-1654879904816.png

when I click on edit on my detailform screen, it does not load the usuario, cliente and estadoticket datacardvalue correctly

kishama_11-1654880256021.png

kishama_12-1654880333926.png

It is not showing me the data as in the detailform

thank you very much for your help.

 

 

1 REPLY 1
Drrickryp
Super User
Super User

@kishama 

Please post the items property of the datatable and the OnSuccess property of the edit form. 

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (4,526)