>Thanks Ed,
>
>However, I need to use the AddObject in a For...Next loop to create the cursors. How do I do this so the cursor name or object is incremented by the loop value. I have to have this in order to associate the source variable too.
I don't quite follow you. IMO, you may just:
For nLoop=1 to n
cObjectname="myobject"+alltrim(str(nLoop))
Thisform.addobject(cObjectname,cClassname)
Endfor
Edward Pikman
Independent Consultant