If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Problem With CDec Function
I have a query with one column containing "Expr1: CDec([ChkPmt])". When I try
to run or store the query, I get a message saying the function has the wrong number of arguments. Is this yet another Microsoft bug? The function looks good to me. Thanks. |
#2
|
|||
|
|||
Problem With CDec Function
With the database open, press Ctrl + g to bring up the VBA window.
In the Immedieate window, paste in the following then hit Enter. Debug.Print CDec("123.222") Does it work there? If it does, it might be something else in the query messing things up. What version of Access? If 2007 did you enable options? -- Jerry Whittle, Microsoft Access MVP Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder. "John Lane" wrote: I have a query with one column containing "Expr1: CDec([ChkPmt])". When I try to run or store the query, I get a message saying the function has the wrong number of arguments. Is this yet another Microsoft bug? The function looks good to me. Thanks. |
Thread Tools | |
Display Modes | |
|
|