icarus5000
Technical User
I'm a VB programmer just starting to get to grips with crystal formulas. I created a formula field @myField and I need to assign it's value based on another fields value.
I tried a simple select case but I keep getting the error "Statement expected here"
Select Case {vw_compfieldmap.groupchoice}
Case "dpt"
{vw_compfieldmap.dpt}
Case "jobcode"
{vw_compfieldmap.jobcode}
Case "jobloc"
{vw_compfieldmap.jobloc}
Case "jobdesc"
{vw_compfieldmap.jobdesc}
End Select
Thanks in advance,
-Ic
I tried a simple select case but I keep getting the error "Statement expected here"
Select Case {vw_compfieldmap.groupchoice}
Case "dpt"
{vw_compfieldmap.dpt}
Case "jobcode"
{vw_compfieldmap.jobcode}
Case "jobloc"
{vw_compfieldmap.jobloc}
Case "jobdesc"
{vw_compfieldmap.jobdesc}
End Select
Thanks in advance,
-Ic