Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 records added on INSERT & REPLACE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00102309
Message ID:
00102762
Vues:
19
Yup. Stick a watch on reccount() or step through and browse the file when you think an extra record might be being added...I will be surprised if VFP is actually adding two records with one insert...

Joe

>And walk through the code with Debug to see where the second record is being added.
>
>Barbara
>
>>Just to narrow things down...can you stick a =MESSAGEBOX("Inserted record") right after the insert? This will verify that the insert is oinly being called once...
>>
>>Joe
>>
>>>VFP 3.0 WIN 95
>>>
>>>I have a pageframe form which inserts a record from
>>>an array and then I replace one field with a new
>>>number. I added NEXT 1 to the end of this code
>>>but I still get two records whenever it runs.
>>>
>>>These forms have free tables, set exclusive is on,
>>>and I believe the data session is set to form default.
>>>
>>>Any thoughts?? Thanks and have a good day!
>>>
>>>Becky
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform