Sorry, not from within Crystal, you'd need external code.
However you could use formulas instead of text boxes, or formulas in text boxes, and have the formulas reference variables, but then you would not be able to reference them by constructing their names, you'd have to explicitly set them.
Here's an example:
@formula1
whileprintingrecords;
numbervar Formula1
Then in a global formula prior to displaying @formula1 you could use:
@SetFormulas
whileprintingrecords;
numbervar Formula1;
if {table.field} = "Choice 1" then
Formula1 := 1
else
Formula1 := 0;
You might want to share the intent of this process, there may be another solution. Please be sure to include the version of Crystal, version and type of the database, example data and expected output.
Hope this helps to resolve.
-k