Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert not inserting no more
Message
De
22/08/2014 05:28:53
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/08/2014 05:13:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01606233
Message ID:
01606247
Vues:
72
>Denis, I think you should really provide some code here... Does not need to be your exact code, but at least one that can reproduce the outcome.
>
>I tried to follow the description of your scenario:
>
>CREATE CURSOR curTable (someField I)
>INSERT INTO curTable VALUES (1)
>INSERT INTO curTable VALUES (2)
>INSERT INTO curTable VALUES (3)
>
>CREATE CURSOR curReport (toPrint I)
>
>SELECT curTable
>SCAN
>	INSERT INTO curReport VALUES (curTable.someField)
>ENDSCAN
>
>INSERT INTO curReport VALUES (curTable.someField)
>
>
>Does this represents what you are doing or am I missing any piece?

If that's the case, this could be one of the cases when things stop working when you're sitting on an alias which is at eof(). Just moving to a real record should then make it work.

OTOH, if he's inserting from variables... perhaps the solution would be the same, or I'd be scratching my head just like he is.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform