Hello, I have a bit of a tricky situation here. I created a shopping cart app and have the users select items and the selected items show up in a gallery. In my shopping cart gallery I have a collection set up from my "Order" button
Collect(
colShoppingCart,
{
Title: ThisItem.Title,
Description: ThisItem.Description,
DateNeeded: DatePicker1.SelectedDate,
Qty: qtyTxtbox.Text,
Box: varBoxCounter
}
);
Reset(qtyTxtbox)And a second button labeled "Box" Set(varBoxCounter, varBoxCounter + 20). When the buttons are clicked they are sent to a gallery for the user to see what was selected. My issue is when I press the box button twice, It shows up multiple times instead of overwriting the quantity showing one line. And what would be the smartest way to clear that "Box" variable if the user decided they didn't want the box anymore. I tried Reset(varBoxCounter) but I get an back an error.
#2. I have the label set up for the user to type the quantity they want. Problem is after they type in the value and it's sent to the gallery, if the user wanted to go back and add more of the same item, it gets written on a separate line in the gallery instead of also overwriting.
Thank you to whoever can help!

Report
All responses (
Answers (