Re: cDistinctDynamicViewCursor

Author: MarkStanton

Posted: 2005-06-06 at 06:02:51

Quote: >>Well, best of luck.

Damn! That was a silent invitation for you to do the work! :oops:

OK, I've found it. It's in cdataenv.prg, which of course I shoulda

known.

On a fairly quick inspection it looks like it opens the cursors and

adds a number on the end to ensure uniqueness, and does it for all the

cursors in a dataenvironment. It seems to open an entirely separate

database for cursors opened this way too. Looks like it works (of

course).

I'm not entirely sure how you'd find the one you'd want. Whilst it

would be easy to find the list (there's an array in the

dataenvironment object) how would you find a view that you wanted? Oh

well, mebbe I'll have a play, when I've got some time (hah!)

©2005 MarkStanton