The table is (number of records * record size) + header.
The index - I think - is more complicated (unpredictable, really), since it uses data compression.
Note that a memo file - which is separate from the DBF - can have a variable size. In theory, you can attach enough information to a single record to pass the 2 GB limit.
>I want to make a formula to calculate the table and index size based on the number of records. I was hoping to have the formula to look like this:
>
>
>TableName Bytes/Record Nbr of Records Total Size
>
>IndexName Bytes/Record Nbr of Records Total Size
>
>
>I see that there is a Table Length data in the Tables Tab of the MODI STRU. Is this the Bytes/Record value? How about the Indexes, how do I compute the size for those?
>
>Thanks in advance.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)