Hi everyone
I have a form and gallery on one screen. There is an add form button which works fine and you can add and delete forms perfectly but I want a new form to show up as soon as the last record is deleted from the gallery.
In my Delete Record Button's OnSelect my code looks like this:
If(CountRows(Gallery.AllItems) = 0, ResetForm(Form);NewForm(Form))
I thought this would work as its checks if the gallery is empty each time a record is deleted but it does not work.
I think there is a problem with my
ResetForm(Form);NewForm(Form)) part of code
Any Help would be appriciated.
Hi @jaja4114 ,
I believe you have to post this question in Forums - Power Platform Community (microsoft.com)
as it is about Canvas app questions.
Hoping it helps.
NatGeo