3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

コンボボックスで選択した複数アイテムをデータソースに一行ずつ保存する

3
Last updated at Posted at 2019-04-21

PowerAppsでコンボボックスで選択した複数アイテムをデータソースに保存しようとしましたがハマりました。

解決策が見つかったので記録しておきます。CB_ChakraSelection3.SelectedItemsの部分以外は普通のForAllとPatchの組合せで出来ました。

設置したボタンのOnSelectに次のPatch関数でTbl_OtherChakraのデータソースに保存します。

ForAll(
    CB_ChakraSelection3.SelectedItems,
    Patch(
        Tbl_OtherChakra,
        Defaults(Tbl_OtherChakra),
        {
            ID2: TI_ID3.Text,
            Other_Chakra: Value
        }
    )
)
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?