Data Detail

I’m working through @mebeingken’s lesson on using a Data Detail to Add, Modify and Delete data. I’ve got it all working, except it always shows only the first record in the table. Can’t seem to get it to show either a new blank form when I click the New button with a select value of 0, or the record being click on with the select value of the record ID.

I have the Data Source of the Data Detail set to the Server Connect query property defined in the API, which has not conditions. That should load all records, which it seem like it’s doing. Then, I have a Dynamic Event (Click) on the table row with an Action of setting the Select property of the Data Detail to the record ID and then showing the Model. Same for the Add button, but it sets the ID to 0.

Any ideas what could be wrong?
Thanks, Dan

The only difference I can see is that I’m connecting to an API that has conditions and is paged, so I have to connect to the data property. Is it possible that that could be the problem? Anyone else using the Data Detail to add and update existing records on a paged API?

Thanks, Dan

OK, I feel stupid…
I was binding my form to the server connect instead of the data detail.
We’re all good and it’s working correctly.

Sorry for the unnecessary post.
Dan