Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursor from array
Message
De
18/07/2006 12:14:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01137256
Message ID:
01137278
Vues:
16
>>Can someone help me with the correct syntax for the create cursor from array command?
>>As in:
>>
>>
>>numfiles = adir(myarray,'c:\somefolder\*.mp3','D')
>>create cursor crsTemp (something) from array myarray
>>
>>
>>Thanks
>
>Hi Don,
>FROM ARRAY ArrayName clause:
>
Specifies the name of an existing array whose contents are the name,
>type, precision, and scale for each field in the temporary table.
>You can use the FROM ARRAY clause instead of specifying individual fields.
>For the proper format of the contents of the array, see AFIELDS( ) Function.
>
>Try this
>
numfiles = adir(myarray,'c:\somefolder\*.mp3','D')
>create cursor crsTemp (something C(50))
>APPEND FROM ARRAY myarray
Vladimir -
Thanks. That's helpful.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform