试图弄清楚缺少什么?每次用户提交新订单时,价格都会显示出来。但显示值为“0”
价格列类型是货币
这是创建新集合的代码
NewForm(Form1);ClearCollect(PinteyBowesCollection, {Category: "", SubCategory: "", ProductName: "", Quantity: "", Price: 0});Navigate(Order_Screen);ScreenTransition.Cover;Clear(PinteyBowesCollection)
这是 PATCH 的代码
Patch(PinteyBowesCollection,Defaults(PinteyBowesCollection),{Category:drpCategory.SelectedText.Result,SubCategory:drpSubCategory.SelectedText.Result,ProductName:drpProductName.SelectedText.Result,Price:Value(txtPrice.Text)})