You are using two separate forms (Form1
and Form2
) which is unnecessary here. You might try adding a HomeScreen then with two options "New Item" and "Search Items":
New record workflow:
- From HomeScreen, user clicks "New Item" button
OnSelect
of the "New Item" button:
NewForm(Form1)
Navigate(FormScreen, Fade)
- User fills in all required fields and hits "Submit" button
- User taken to SuccessScreen then back to HomeScreen
Search record workflow:
You then set the Default
values of Form1 controls to something like:
- If(Form1.Mode = FormMode.New, Blank(), Parent.Default
This is all from memory, so might need some minor tweaks, but the logic is there.