"Unless someone points out an advantage to Field Method."
Being unfamiliar with Field method, your code is hard to translate and read with understanding let alone see any advantage to using it.
Can you say what advantage is without writing code?
Then I might be able to understand your examples and more importantly know when to use Field method and when to use Type. So far, I am seeing Field applied only to strings and conversions required to get numerical data back to numeric form. I know it would be better, faster and more efficient for numerical data to use Type if all those CV's are needed.
So I assume, if there be an advantage to using Field method it would be with records that are all string data or mostly. A 100 variable length strings can fit in a smaller fixed string space or record length than making space for maximum string size for each data item but then you loose space for a character separating data items. (And Field seems applied to fixed length strings anyway!)
I am suspecting Field was the primitive way before the invention and use of Type. Specially as you say, it existed before Type.
Quote:Since Field has been around long before Type here is another sample
In that case, I surmise:
The only advantage to using Field method is because you have code already written using that method, ie for compatibility to old code.
Correct? or am I missing another advantage?
Also Type has been around since at least early to mid 90's either Quick Basic or VB for DOS had it, so code using Field Method must be really ancient. (GW BASIC???)