Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo first block Number
Message
De
09/05/2006 22:05:33
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01120576
Message ID:
01120587
Vues:
11
Hi Sergey,
Thanks, that did the trick, didn't think of attacking it that.

>Hi Neil,
>
>NextFreeBlockOfsset = NextFreeBlockLocation * MemoBlockSize
>NextFreeBlockLocation: bytes 00 – 03
>MemoBlockSize: bytes 06 – 07
>
>Keep in mind that in SET BLOCKSIZE TO nBytes, the values from 1 to 32 are multiplied by 512 to get actual block size that is stored in MemoBlockSize.
>
>>Does anyone have code that will calculate the first block position in a new create memo file for varying blocksizes.
>>
>>From testing it doesn't seem to follow any pattern. i.e. blocksize 1 = 1, blocksize 33 = 16, blocksize 64 = 8 & 512 and above it drops back to 1.
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform