On Fri, 23 Apr 2010, Horodyski Marek (PZUZ) wrote:

Hi,
> > this sample generates an GPF
> > ----------------
> > struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}}
> > dbcreate("test1.dbf",struct)
> > -------------------
> > It is normal or I'm doing something wrong ?
> No it should be RTE instead of GPF.
> In DBF maximum record size is 64KB and above example needs
> *------------
> I have in mind that limit the size of record in the Clipper was the amount of 
> physical memory.

Record size in DBF is limited to 65535 bytes due to DBF structure only.
The size of record is stored in two bytes (16bit) inside DBF header.
In theory we can create incompatible DBF files which will not respect
this limit but probably only Harbour can read them.

Clipper also can create DBF files with record size up to 64KB.
If any memory limitation exists (I haven't exploited them) then
they work just like any other system resource limitations and
interacts also with all other things. The record size is not
an exception here.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to