Microsoft Dynamics 365 Blog

Wrong argument type for function 

1 min read

When double-clicking on a record in a list page to see the details of that record in a task page/form and getting this error:Error executing code: Wrong argument type for function. With a stack trace of: (C)\Classes\QueryRun\setRecord (C)\Classes\FormDataSource\executeQuery Change the query used on your task page.  The cause is a table being present in the data…Read more