Group: Forum Members
Posts: 524,
Visits: 30K
|
This is one of those things I do instinctively in Fox with Eval() or & and don't quite have the hang of yet in .NET
I have a number of private properties of type businesslayer
_Endorsements
_Premises
_GL
_Propmaster
I get a name ( but getting the displayvalue of an enum BOName ) of a business object.
The properties are named _
Now I want to look at the count of the BO based on the string which have representing
Dim varname as String = "_" & MicroFour.StrataFrame.Tools.Common.GetEnumDisplayValue(bo.BOName)
Lets say varname = "PROPMASTER"
Now I want to get the count of whatever BO is in the property which is in the string varname
i.e. Propmaster.count
Fumbling with syntax here. Appreciate any guidance.
TIA
|