Hi,
You can loop through DataEnvironment.Objects. Here is a sample code:
x = CreateObject("dataenvironment")
x.AddObject("test","cursor")
lnCount = 0
For each oObject in x.Objects
If Upper(oObject.BaseClass) = "CURSOR"
lnCount = lnCount + 1
EndIf
EndFor
? lnCount
Hope this helps.
>is there a property which returns the number of cursors contained in the dataenvironment ?
>I'd like to use a code like this
>
>for lcI = 1 to Dataenvironment.cursorcount
> .............
>endfor
>
>I know cursorcount does not exit :-)
>
>Thx Alessio
Grigore Dolghin
Class Software.