Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
End of file
Message
 
To
29/12/2004 02:58:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00971336
Message ID:
00972836
Views:
14
DECLARE newdncf[4] && If You have more then 4 declare it
newdncf[1] = "NewDnc1"
newdncf[2] = "NewDnc2"
newdncf[3] = "NewDnc3"
newdncf[4] = "NewDnc4"
......
FOR ndnc = 1 TO ALEN(newdncf,1)
    f_name = newdncf[ndnc]
    select 0
    use (f_name)
NEXT
select 0
use newdnc
SCAN
    SCATTER MEMVAR
    m.tablechar1=NewDnc.Char1
    FOR ndnc = 1 TO ALEN(newdncf,1)
        f_name = newdncf[ndnc]
        select (f_name)
        SCAN FOR Char1 == m.tablechar1
             GATHER MEMVAR
        ENDSCAN
    NEXT
    SELECT NewDnc
ENDSCAN
CLOSE ALL
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform