So I have 2 forms, one called Invoice (where we introduce one invoice at a item), and one called Items (where we introduce multiple items from the invoice). Now after submitting those forms, I made a gallery for the Invoice forms to be viewed. When selecting an Invoice from that gallery I want to be send to a screen where I can edit both the Invoice form and the Items form.
What I did:
For the Invoice form, I created the form, DataSource - InvoiceList, Items - InvoiceGallery.Selected;
it shows the form selected and can be edited, but how can I put on the same screen the Items form related to that invoice form selected?
PS: the forms are associated together with a column called InvoiceNumber that.s from the Invoice form, formula :ForAll(colItems,
If(!IsBlank(Title),
Patch(S2IM_InvoiceItems, Defaults(S2IM_InvoiceItems),
{Title:Title, Price:Price, VAT:VAT, InvoiceNumber2:InvoiceForm.LastSubmit.InvoiceNumber})))
Any help?