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


Tip of the Day
Language: Pascal
Expertise: Beginner
May 9, 1997

Where to put code you want to run every time a new record is read into buffer

Question:
Where is the best place to put code that you want to run every time a new record is read into buffer? For example, in a HR system, you may wish to set the caption of the form to the employee's name when you change records.

Answer:
This is kind of a rhetorical question, but I'll answer it the best I can. I'd probably run the code immediately after the record is completely read into the buffer. The reason for this is that it's in response to sort of a state change in the buffer, so it seems to me to be the most logical place to execute the code.

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