cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Navigate after patch

Hi, 

My brain is totally stucked, trying to add a navigate in the end of this formula but fails all the times.
Can someone just please help me out where to enter it. 

If(!IsBlank(
Patch('[dbo].[Tbl_Orders]';
First(Filter('[dbo].[Tbl_Orders]';Order_Key=Tbl_Orders_1.Selected.Order_Key));
{Aktiv:Text("NEJ");
Användare:User().Email;
Kommentar:(TextInput2.Text)}));

If(!IsEmpty('[dbo].[Tbl_Orders]');
Patch('[dbo].[Tbl_Orders]';
Defaults('[dbo].[Tbl_Orders]');
{Fraktsedelsnummer:RegOrd_FraktNr_1.Text;
Status:drop_Ordertyp.Selected.Value;
TotalAntal:Value(inp_regAntal.Text);
Avdelning:drop_avdelning.Selected.Value;
Torg:Value(input_Torg.Text);
Godk_x0020_EUR:Value(input_GodEur.Text);

Trasig_x0020_EUR:Value(input_TrasEur.Text);
'Hel_x0020_B-Pall':Value(input_HelBpall.Text);
'Trasig_x0020_B-Pall':Value(input_TrasBpall.Text);
Engångspall:Value(input_engångspall.Text);
Helkrage:Value(input_Helkrage.Text);
Halvkrage:Value(input_halvkrage.Text);
Trasig_x0020_Helkrage:Value(input_trashelkrage.Text);
'1_x002f_1_x0020_Lock':Value('input_1/1Lock'.Text);
Trasig_x0020_Halvkrage:Value(input_TrasigHalvKrage.Text);
Halvpall:Value(input_Halvpall.Text);
'1_x002f_2_x0020_Lock':Value('input_1/2Lock'.Text);
Övriga:Value(input_övriga.Text);
Skrot:Value(input_skrot.Text);
Kundnummer:Value(dold_kundnummer1.Text);
RegDate:DateValue(RegOrd_RedDate.Text);
Kommentar:(TextInput2.Text)
})))

 

1 ACCEPTED SOLUTION

Accepted Solutions

Thx ;). Wel then. Add ;;navigate(yourscreen,a transition) at the end and should be good.

View solution in original post

4 REPLIES 4
Maurits
Resolver III
Resolver III

Hi @Anonymous , does the Patch do what you want it to do?
And do you have some error message when adding the Navigate?

cwebb365
Super User
Super User

Well in English you use a ; at the very end of that statement and just add a navigate as the ; let’s you add addition steps it does in order. But you use that in place of commas in yours so not sure which character is the equivalent:p.

Hi @cwebb365 , instead of ; we use ;; (so double) 😉

Thx ;). Wel then. Add ;;navigate(yourscreen,a transition) at the end and should be good.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,209)