On Mon, 27 Oct 2008, Mindaugas Kavaliauskas wrote:

Hi Mindaugas,

> so, what action should be taken for RDDs like DBF, if pArea->uiFieldCount 
> is not equal to zero on open() method? Should open() return FAILURE, or 
> should it generate run time error, or something else?

I think we can leave this decision to RDD developers.
With our code it cannot happen from .prg code because DBF is not
marked as transform RDD so to create such situation is necessary
to write some C code. Because DBF RDD has to respect fields defined
in DBF header then for this RDD seems reasonable to generate RT error
or discard previously defined fields.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to