Quantcast
Viewing all articles
Browse latest Browse all 14708

Convert data types to string ' For the DataTypeString() code

HI ,

I lost some hours trying to find a solution to get all available fields data for a RUN.
My current target is to get all available strings that can be added as a run status ( standards are "Passed", "Failed", "N/A" ,"No Run" , "Not Completed" they can be extended so i need a way to get all of them.

Here is the flow until I identify the Field ( the text is fictive).:
RunFactory = TsTest.runFactory()
TDFilter = RunFactory.filter()
avFilters = TDFilter.fields()
for(ITDField in avFilters)
      [here we can get name, prop and type]
      if (ITDField.name() == "RN_STATUS"){
                fieldProp = ITDField.property()
                [here we can get label and so on]


the type long for this is 3

 

All the current documentations provides the statement :

" For the DataTypeString() code,
' see example "Convert data types to string"
Debug.Print .name & ", " & .Property & ", Data type is " _
& DataTypeString(.Type)
"

Can someone help me get this "Convert data types to string" example ?
I was not able to find it.( I searched OTA documentation for 9, 10 , and 11 )

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>