Emmitt,
You are NOT dreaming. Ask and you shall receive!
Use the ISTAT Functions of The Glorious R:BASE 2000!
Syntax: (ISTAT('keyword'))
Options:
. (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.
SET VAR vSize = (ISTAT('DBSIZE'))
. (ISTAT('RB1SIZE'))
The RB1SIZE parameter returns the size, in bytes, of
the RB1 file of the currently connect database.
You may need to use the following syntax for large
databases:
SET VAR vSize DOUBLE = (ISTAT('RB1SIZE'))
. (ISTAT('RB2SIZE'))
The RB2SIZE parameter returns the size, in bytes, of
the RB2 file of the currently connect database.
You may need to use the following syntax for large
databases:
SET VAR vSize DOUBLE = (ISTAT('RB2SIZE'))
. (ISTAT('RB3SIZE'))
The RB3SIZE parameter returns the size, in bytes, of
the RB3 file of the currently connect database. You
may need to use the following syntax for large
databases:
SET VAR vSize DOUBLE = (ISTAT('RB3SIZE'))
. (ISTAT('RB4SIZE'))
The RB4SIZE parameter returns the size, in bytes, of
the RB4 file of the currently connect database. You
may need to use the following syntax for large
databases:
SET VAR vSize DOUBLE = (ISTAT('RB4SIZE'))
For more (ISTAT('keyword')) functions, check out the
latest, greatest and up-to-date http://www.RSyntax.com
Syntax Reference includes the exclusive topic on
ISTAT Keywords.
Enjoy and make sure to have fun!
Very Best Regards,
Razzak.
At 04:20 PM 7/21/2001 -0400, Emmitt Dove wrote:
>It seems to me that I have seen a function call or UDF for Windows R:Base
>that returns selected characteristics of a specified file. I am
>particularly interested in finding out the size of a specified file.
>
>I've searched the online reference and my Conference 2000 CD and do not
>find this elusive utility.
>
>Can anyone clue me in? Am I dreaming?
>
>I did find the UDF DLL FDateTime that doesn't show file size.
>
>Thanks in advance!
===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference
Official R:BASE List Server: mailto:[EMAIL PROTECTED]
RBTI Events/Training: http://www.rbase2000.com/events
R:DCC Members: http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================