Re: Split and Concat QR Code
Hi Bof,
thank you very much for your support.
I haven't been developing PowerApps for very long and can't understand the exact function of your code.
Can i change "TheString" to: DataCardValue46_1.Text?
With(
{TheCollection:
With(
{TheString:"Type1(Order1(Customer1(Supplier1(Type2(Order2(Customer2(Supplier2(Type3(Order3(Customer3(Supplier3("},
ForAll(
Sequence(RoundDown(CountRows(Split(TheString,"("))/4,0),0,1),
{
Type:Index(Split(TheString,"("),Value*4+1).Value,
Order:Index(Split(TheString,"("),Value*4+2).Value,
Customer:Index(Split(TheString,"("),Value*4+3).Value,
Supplier:Index(Split(TheString,"("),Value*4+4).Value
}
)
)},
ForAll(
Distinct(TheCollection,Customer).Value,
LookUp(TheCollection,Customer=Value)
)
)
Where do I have to insert the code or how can I get my desired values out then?
The goal is to field the data in a form and then safe it in a sharepoint lists.