I would assume that CursorSource must be a character type (C)
>Thank you Naomi
>
>I tested "type" in form objects and worked
>
>But it's not working in code below
>
>
>****************************************
> FOR myObj = 1 TO 3 DO
>
> IF TYPE(("thisform.dataenvironment.cursor" + transform(myObj) + ".cursorsource")) = "L"
>
> = MESSAGEBOX ("OK")
>
> ENDIF
>
> NEXT
>******************************************************************
>
>
>No OK message
>
>***also tried IF TYPE ("thisform.dataenvironment.cursor" + transform(myObj) + ".cursorsource") = "L"
If it's not broken, fix it until it is.
My Blog