- Code: Select all Expand view
#include "Fwce.ch"
FUNCTION MAIN()
DBCREATE( CURDIR() + "\TMPTEST", { { "TEST", "C", 10, 0 } } )
USE ( CURDIR() + "\TMPTEST" )
APPEND BLANK
REPLACE FIELD -> test WITH "Test 1"
APPEND BLANK
REPLACE FIELD -> test WITH "Test 2"
DELETE
PACK
CLOSE
MSGINFO( "Done!" )
RETURN NIL
It seems that PACK recovers deleted flag instead of to remove the deleted record.
Probably it is a bug in Harbour_CE. It is working fine with current Harbour from CVS.
EMG