As chpicker stated you could just USE the table or :
1. Use the thisform.dataenvironment.addobject()
2. It's not pretty but you could also do it this way:
use FORM.SCX
INSERT INTO form1 (platform,uniqueid,class,baseclass,objectname,parent,properties) VALUES ;
("WINDOWS",SYS(2015),"cursor","cursor","cursor3",;
"dataenvironment","LEFT=150"+CHR(13)+"TOP=20";
+CHR(13)+"WIDTH=90"+CHR(13)+"HEIGHT=90"+CHR(13)+"ALIAS='mytable'"+CHR(13)+"Database = tcp2002.dbc";
+CHR(13)+'CursorSource = "driver"'+CHR(13)+'Name = "Cursor2"')