Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are There Any Simple For This?
Message
De
18/07/2001 10:30:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/07/2001 10:27:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00531899
Message ID:
00531986
Vues:
11
>Cetin,
>
>Why not use Append From on its own?
>
>The only advantage I can see from your technique is that it gives a filter criteria (which can be achieved with the for clause of append from)
>
>
>FileCount=adir(arrTables,cTablePath+'\*.dbf')
>use (cTablePath+arrTables[1,1])
>afields(arrStruc)
>use
>Create Cursor MyCursor from array arrStruc
>
>For ix=1 to FileCount
>  append from (cTablePath+arrTables[ix,1]) for MyUsefulCriteria
>Endfor
>
>
>Will

Will,
As you figured out for filter criteria :) Yes you can use 'for' clause but I just thought it would be harder to implement for average user (bad assumption maybe).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform