beasty1711
Aug 10th, 2006, 06:39 AM
i'm passing a boolean to CR in vb.net
and then want to sort on either first name or surname depending on what value is passed.
ive set the sort order of the records to be the name of my formula, and then in my formula put this code:
if {?@boolVal} = True then
{first_name}
else
{surname}
problem is that i get an error saying that
Error in formula . ' if {?@boolVal} = True then ' This field name is not known.
any ideas??
ta
and then want to sort on either first name or surname depending on what value is passed.
ive set the sort order of the records to be the name of my formula, and then in my formula put this code:
if {?@boolVal} = True then
{first_name}
else
{surname}
problem is that i get an error saying that
Error in formula . ' if {?@boolVal} = True then ' This field name is not known.
any ideas??
ta