Determines the size of a selected (.dbf) file on a disk drive

     DbfDskSize() --> nFileSize


     DbfDskSize() returns the size of the current database on the floppy or
     hard disk (i.e., how many bytes are saved in this file).


     One of the DbfDskSize() function's most useful applications is when it
     is used in conjunction with DbfSize().  When the results for both
     functions indicate there is a deviation in the size of a database, this
     means a portion of the data is not yet written to the floppy/hard disk.
     You can also determine if and when new input is written to a floppy/hard


     .  This function operates on the currently SELECTed work area.


     Determine if a portion of data input has been written out to disk yet:

     IF DbfSize() - DbfDskSize() >= 512 
       * COMMIT // Warning! Works only with DOS 3.3 and up 

See Also: DbfSize()


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.