A character field with a width of 6 char is created in the control database. Then using a series of v_retrieve and v_replace Flexfile functions, your data, whether it is text from a memoedit or a scanned or created image, is stored in a .DBV file that is separate from the control .DBF. You can create a multitude of .DBV files and associated character fields in your control .DBF and v_select the appropriate .DBV file.
The data is stored in the .DBV file similar to the way a file is stored on a hard disk, not not at all the way data is stored in a .DBT file where fixed blocks are used creating lots of wasted space. When a set of data is v_replace is issued, the data is stored in the .DBV file in the first available location in the file. If the data is v_retrieved and its length in changed, it will be v_replaced in to the firat available location and the previous storage location is then made available for use by any following request for storage that will fit in that space. An analysis of unused space in a .DBT file is usually no more that 8-10%. The text data can be encrypted as it is stored, although there is no connection to the data and the.DBF record it is associated with. I have found no limit tot he size of an image that can be stored in my usage of .DBV files and text storage will be restricted by the way the data will be displayed or edited with in the Clipper program.
Hope this helps explain it to you.
I am open to future questions regarding this subject.
Sam Boomer
sdb_tech at mindspring dot com