Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursor from array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00749517
Message ID:
00749553
Vues:
21
You cannot combine creating array and appending records into one commnand.
CREATE CURSOR pnHold (propno i(4))
DIMENSION ahold(ALEN(ahold,1))  && required so each item goes into separate record
APPEND FROM ARRAY ahold
>I don't understand. Is there more spec I need besides i(4). I tried not null, it did not work. The array is dynamic and has hardly ever has more than 10 records. The array is one column of 6 digit numbers.
>
>>>Would any know why I get the error "Command contains unrecognized
>>>phrase/keyword (Error 36)" from this line of code?
>>>
>>>
>>CREATE CURSOR pnHold (propno i(4)) FROM ARRAY ahold
>>
>>
>>My guess would be the combination of FROM ARRAY and the field specification.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform