Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not possible to scan dataenvironment objects!?
Message
From
18/06/1999 22:12:13
 
 
To
18/06/1999 21:15:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231556
Message ID:
00231689
Views:
14
Let me format this a little better:
LOCAL i, aCursors[1]

AMEMBERS(aCursors, oForm.DataEnvironment, 2)

WITH oForm.DataEnvironment
     .CloseTables()

     FOR i = 1 to ALEN(aCursors)
         WITH EVAL("." + aCursors[i])
              IF .BaseClass = "Cursor"
                 .CursorSouce = "foo"
                 .DataBase    = "d:\allfoopath\allfoo.dbc"
              ENDIF
         ENDWITH
     ENDFOR

     IF .AutoOpenTables
        .OpenTables()
     ENDIF

ENDWITH
- Jeff
Previous
Reply
Map
View

Click here to load this message in the networking platform