I'm creating an app where users put in their job bookings, I'm just having a little trouble where when you save those bookings they are saved in the view all details screen but when you want to edit what you saved those edits aren't saved. In the view all screen I have three button that represent weekly bookings, monthly and all bookings, so the items function is colPeriod. On the booking for the forms item is gallery1.selected and I'm not sure if that's where the issue is. Also when I want to try and edit bookings again the edit icon disappears making it unable to edit change.
Your assumption is probably right.
Where do you save the bookings to? SharePoint? CDS? SQL?
I assume upon submitting the changes, it will save the changes directly to the source, but not to the colPeriod collection? If that's the case, it would explain why when clicking on the edit icon, it will just load the "old" item. That's the one in the colPeriod collection.
You can overcome this issue by updating the colPeriod collection on the submit button when editing the item. If you don't know how, simply copy the submit code of said button here and I'll help you modify it.
I hope this helps.
Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.
@FabianAckeret I'm quite sure by what you mean submit code. SubmitForm(Form1);ResetForm(Form1);Set(VARSave,false) this is what's in the formula box for the save icon.
User | Count |
---|---|
200 | |
120 | |
84 | |
50 | |
41 |
User | Count |
---|---|
282 | |
155 | |
133 | |
73 | |
73 |