Hi All,
Looking for some advice with this error. I have 2 normal clearcollect statements attached to buttons on different pages within the same app.
They both do the same thing E.G
ClearCollect(Invoice, {Unique_ID:Unique_ID.Text)
ClearCollect(Report {Unique_ID:Unique_ID_BR.Text)
but one keeps bring back the same error Invalid Argument Type (Error). Expecting a Table Value Instead.
This is a recent thing that happens, its been working fine the past few weeks
Any ideas on how to fix this?
Thanks
Hi @GlitchedDuck,
Have you resolved your problem?
Do you mean that Unique_ID expects table value?
Could you please show me your app condiguration, what is the Unique_ID?
Actually, if the Unique_ID expects table value, a hard code format could not solve the issue. You should format your value as a table structure.
Allright. So this is because the clearcollect expect a table or an array value so what you can do is the following :
ClearCollect(Invoice, [{Unique_ID:Unique_ID.Text}])
ClearCollect(Report [{Unique_ID:Unique_ID_BR.Text}])
Best regards,
Alaa
Yeah sorry my code is the same as that, i just missed it out when putting it in here
Hello,
Can you try something like :
ClearCollect(Invoice, {Unique_ID:Unique_ID.Text})
ClearCollect(Report {Unique_ID:Unique_ID_BR.Text})
Best regards,
Alaa
WarrenBelz
85
Most Valuable Professional
MS.Ragavendar
54
Michael E. Gernaey
42
Super User 2025 Season 1