Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert not inserting no more
Message
De
24/08/2014 15:03:05
 
 
À
22/08/2014 10:56:01
Mike Yearwood
Toronto, Ontario, Canada
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:
01606324
Vues:
68
Hello Mike,

All problems should have a logical fix. It really looks like this one doesn't. I just applied a fix (even if it looks weird) suggested by other developers here. I'd really prefer to apply a fix and know what needed to be fixed. In this case only the GO TOP seems to be the solution.

If you ever think of something that would explain why the insert doesn't work feel free to tell me. In the meantime I'll have to live with that illogical GO TOP.

>>Problem solved... but I still don't get it.
>>
>>Solution was to put a go top in the cursor where I wanted to do an insert.
>
>That makes no sense at all. You'd benefit from finding out what the real cause was, rather than treating a symptom.
>
>
>>
>>Many thanks for all your help.
>>
>>>>Hello all,
>>>>
>>>>I am building a cursor for a report. I scan all the data from a given table. For each of those records I scan I insert a record in a new cursor that will be used for the report.
>>>>
>>>>When the scan is finished I want to insert other records in that created cursor. The problem is that the insert is not inserting after the Scan...EndScan sequence.
>>>>
>>>>This is really weird.
>>>>
>>>>I use the same insert after the SCAN that I used in the SCAN.
>>>>
>>>>I really don't get it.
>>>>
>>>>Heeeeelp!
>>>
>>>Are you debugging this problem? Can you show some code? May be the condition to run that code is false.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform