try

(ISTAT('DBSIZE')) 
DBSIZE returns the size of the currently open database (total of the four 
database files). If no database is connected, ISTAT returns 0. 



Marc

  ----- Original Message ----- 
  From: Dan 
  To: RBASE-L Mailing List 
  Sent: Thursday, July 10, 2008 8:21 AM
  Subject: [RBASE-L] - Programmatically determining DataBase size


  Hi,
    Since my recent crash because the database grew to over the 2 gig limit. I 
need to find a way to Stop it before it happens.  Just yesterday I noticed it 
was at 1.976 gigs.   Good thing I happened to see it.
    I would like to have R:Base tell me it is about to make itself so big it 
can't be read and might lock the company up again.
    I was looking for CVAL commands or some such to check this.  Does anyone 
know of anything like this?
  Thanks,
  Dan

    Dan Champion 
   Service Department Manager
  Vredevoogd Heating & Cooling
      Grandville, MI. 49418     
          616-534-8271 x 114
      

Reply via email to