How do all!

I want to be able to access a value in a class using the variable passed to a procedure.

e.g. \_results.projection[2].Current.FundDC to become something like

\_results.projection[2].termId.varName

where termId can be Current, Future or Percent

and varName can be a large list :)

Any suggestions?

Answers on a postcard please :)