qwerty123987
Programmer
Hey, can anyone tell me what I need to do to make the following syntax legal
This statement will work. Batchnumber[x] is a string array that either has a 5 character text string, or a single space in each element
{IVC.IVC_BATCH_NO} in switch
(
{?Report Type} = "P",
" " to " ",
true,
BatchNumbers[1]
)
However, I need to do something like this, which does not work. Crystal gives me an error saying "Not enough arguements have been given to the function"
{IVC.IVC_BATCH_NO} in switch
(
{?Report Type} = "P",
" " to " ",
true,
BatchNumbers[1], BatchNumbers[2], BatchNumbers[3]
)
Thanks
This statement will work. Batchnumber[x] is a string array that either has a 5 character text string, or a single space in each element
{IVC.IVC_BATCH_NO} in switch
(
{?Report Type} = "P",
" " to " ",
true,
BatchNumbers[1]
)
However, I need to do something like this, which does not work. Crystal gives me an error saying "Not enough arguements have been given to the function"
{IVC.IVC_BATCH_NO} in switch
(
{?Report Type} = "P",
" " to " ",
true,
BatchNumbers[1], BatchNumbers[2], BatchNumbers[3]
)
Thanks