dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Using Fields Object with GetChunk

Question:
What is the fields object of the GetChunk method? I am trying to access a large (several meg) flat fixed record (160 ascii bytes per record) database and I thought the only way is the GetChunk method but I don't know what the fields object is or how to 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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date