I was going to suggest using reflection but that is for creating .Net classes (and thereby variables) not crystal reports.