cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johanssson
Frequent Visitor

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
cwebb365
Impactful Individual
Impactful Individual

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 II
Resolver II

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

cwebb365
Impactful Individual
Impactful Individual

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) 😉

cwebb365
Impactful Individual
Impactful Individual

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

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (58,705)