TDatasetÀÇ BOF ¿Í EOF ÁÖÀÇÇϱâ 


These properties may mislead you. Here's how to make sure you're really at the beginning or end of a table. 
When you're working with a TDataset, the BOF property tells you 
whether the TDataset cursor is at the beginning and EOF tells you 
whether the cursor is at the end. However, just because you're on 
the first row of a table, you can't assume that the BOF property 
is true. Similarly, if you're on the last row of a table, you 
can't assume that EOF is true. Instead, you should issue an 
additional Prior or Next to ensure that you're at the beginning or 
end, respectively, of the table. For instance, while the command 
sequence First, Next, Prior won't reset BOF to true, adding one 
more Prior (making the sequence First, Next, Prior, Prior) will do 
the trick. 

Submitted by Kent Reisdorph, TurboPower Software 
KentR@turbopower.com 

Kent is the author of "Teach Yourself C++Builder in 21 Days" 
SAMS Publishing 
ISBN 0-672-31020-1