On Mon, 28 Apr 2008, Sulyok Péter wrote:
> Hy all!
> Can somebody help me?
> I use a dbfntx engine and use memo fields.
> If i rewrite an record, then the memo space cannot rewriting, the new memo 
> data written after the .dbt file.
> Also the .dbt file will bi biger and biger, but the .dbf size cannot change.
> I think if i rewrite a record, then the memo field rewrite too.
> Any idea or help?

It's standard DBT behavior the same as in Clipper. New and replaced
data is always added at the end of memo file and old data is still
available for other stations which can use old memoblock number from
their DBF record cache. If you need automatic garbage collector for
old memo data then you will have to use different memo format, f.e.:
   rddInfo( RDDI_MEMOTYPE, DB_MEMO_FPT, "DBFNTX" )
Otherwise you will have to use PACK command or sx_memoPack() function.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to