Announcements
I am trying to create a patch to an already connected Excel. I think the problem is the two semicolons after "table1". But with one colon the patch has invalid arguments. I've been trying to fix this for three days now hahaha. Can you pls help me 🙂Set(bst_thispart; TextInput3.Text);;Patch(Table1;; Defaults(Table1);LookUp(Table1; ETR = etnr_thispart);{Inventory: bst_thispart});;Notify(etnr_thispart & “ ” & bst_thispart)
Translated with DeepL.com (free version)
Hello @MarcoSager ,here is the correct code:Set(bst_thispart, TextInput3.Text);Patch(Table1,LookUp(Table1, ETR = etnr_thispart),{Inventory: bst_thispart});Notify(etnr_thispart & " " & bst_thispart)
Hey there @MuhammadAizaz1 , thanks for your answer!
But just as i said, for my region (Switzerland) we use semicolons instead of commas. The problem is, that the patch has wrong arguments in it. when i put 2 semicolons (in your case that would be 2 commas) after the first table1, then there is no error. What could be wrong with my data that its says wrong arguments?
Hey @MarcoSager , sorry for late response.If you issue is still not resolved, please make sure you are either using Default or Lookup function inside Patch function. You cannot use both together inside the Patch function as per my knowledge. Correct code will be.
Set(bst_thispart; TextInput3.Text);;Patch(Table1;LookUp(Table1; ETR = etnr_thispart);{Inventory: bst_thispart});;Notify(etnr_thispart & “ ” & bst_thispart)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 335 Most Valuable Professional
11manish 166
sannavajjala87 71 Super User 2026 Season 1