Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursor command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097637
Message ID:
00097640
Vues:
23
>Hello all
>
>I've created a table with the copy structure extended command
>
>When I want to use the data structure my code reads as follows:
>
>SELECT structable
>GO TOP
>DIMENSION temp[reccount(), fcount()]
>FOR i =1 TO RECCOUNT()
> FOR Y = 1 TO FCOUNT()
> r = FIELD(Y)
> temp[i,y] = &r
> ENDFOR
> SKIP 1 in structable
>ENDFOR
>
>CREATE CURSOR importer FROM ARRAY temp
>
>I'm crashing on the create cursor statement with a syntex error!!
>What is it??
>
>Thanks
>
>Sandy

Probably becuase your array is not in the correct format to create the cursor...

Why don't you either...

1. Create the arrary with afields()

or

2. Create the tabel from the 'copy extended' file directly?

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform