Here is the code
Public Function BlankSTlRecord(STlData As SEF3BlkQltData) As SEF3BlkQltData
Dim intIndex As Integer
Dim FldName As String
For intIndex = LBound(STLQltDataStructure) To UBound(STLQltDataStructure)
FldName = "STlData." & STLQltDataStructure(intIndex).FieldName
Select...
I am writing some code where I want to reference a user defined type via a fieldname which is held in a variable.
Does anyone know how to do this i.e.
Type TestType
desc as string
code as string
End Type
Dim FldName as String
Dim AUDT as TestType
FldName = "desc"
[AUDT.FldName] =...