Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of file
Message
De
29/12/2004 04:04:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00971336
Message ID:
00972839
Vues:
15
hi,
thank you so much,
if tables name is deferent names as aaa.dbf,bbbb.dbf,ccc.dbf ...etc
can be work,
thanks.
m.qasem

>
>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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform