On Wed, 26 Nov 2008, Mindaugas Kavaliauskas wrote:

Hi Mindaugas,

> thanks. I've solved my problem another way, I just do not open that 
> relation. But I was a little surprised that there is no way to close a 
> single relation in Clipper.
> Perhaps, the only possible way to implement it (without backward 
> incompatible RDD extension) is via DBINFO().

We can add new method anyhow it will break binary compatibility.
In such case new DBI_* action seems to be the easiest way though
I do not know if it will be portable. F.e. Is it possible to close
single relations in ADS? If not then instead of DBI_* action for
clearing single relation we should add DBI_* action which will return
codeblock associated to given relation so later it will be possible
to write function which will safe and restore all relations. We already
have DBI_SCOPEDRELATION which returns logical value indicating scoped
relations.

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

Reply via email to