Using Fields Object with GetChunk

Using Fields Object with GetChunk

Question:
What is the fields object of the GetChunk method?I am trying to access a large (several meg) flatfixed record (160 ascii bytes per record) database and I thought the only way is the GetChunk methodbut I don’t know what the fields object is or howto specify it.

Answer:
Typically, the GetChunk method is used on the Fields object like this:

String = Fields(1).GetChunk

The Fields object is just all the different fields on a particular table. If the table you opened was named Customer, you would do like this:

String = Customer.Fields(1).GetChunk

The 1 (one) is the field number. You can also specify fields by name.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular