Hi there,
I've used the following formula on a button to patch a set of running results to a Google sheet spreadsheet:
ForAll(
TheResults,
Patch(
Sheet3,
Defaults(Sheet3),
{
Runner: Runner,
Handicap: Handicap,
Finish_x0020_Time: Finish_x0020_Time,
Finish_x0020_Position: Text(Label5)
}
)
)
However, I need the user to be able to save a different set of results on a new google sheet each week from PowerApps. Is there a way the user can select a sheet to patch to? eg:
ForAll(
TheResults,
Patch(
User chooses Google sheet,
Defaults(User chooses Google sheet),
{
Runner: Runner,
Handicap: Handicap,
Finish_x0020_Time: Finish_x0020_Time,
Finish_x0020_Position: Text(Label5)
}
)
)
Or is there a completely different way of doing this other than patching?
Any help would be greatly appreciated.
Thanks,
Callum