Gavroche00
Technical User
Hi folks,
Don't know what I am missing. I have a function in a module that calculates the last sunday (i.e. if today is Tuesday the 6th, it will return Sunday the 4th).
I am now trying to apply this function into a query. I have a field called inputdate that writes the date of the entry in the table. So when I write NewDate:getlastSunday([inputdate]) I get the following error message:
Wrong number of arguments used with function in query expression 'getlastSunday([inputdate])'. Anyone knows why?
Thank you
Don't know what I am missing. I have a function in a module that calculates the last sunday (i.e. if today is Tuesday the 6th, it will return Sunday the 4th).
I am now trying to apply this function into a query. I have a field called inputdate that writes the date of the entry in the table. So when I write NewDate:getlastSunday([inputdate]) I get the following error message:
Wrong number of arguments used with function in query expression 'getlastSunday([inputdate])'. Anyone knows why?
Thank you