Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append & Insert create two records?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00084121
Message ID:
00084631
Vues:
26
>Thanks again Dave, the problem was in my coding, after reviewing it, I found
the trouble.

won't be the hardware. check to make sure the refresh code only refreshes.
>
>>>The problem is much worse, create a new record adds 10 records to the database.
>>
>>I'm sure your right about the code running more than once, can a refresh cause code to run over and over?
>>
>>Can a difference in hardware cause problems? going from a pentium 133 to a
>>pentium 200 mmx.
>>
>>
>>
>>>I have two pageframes one that uses append blank and replace for one value in one field, the other uses insert from array then replaces the value of one field.
>>>>
>>>>Both are causing two records to be created, I have tried using select
>>>>before doing the replace command to keep it on the record, it works on my version but when installed on another system goes back to creating two records.
>>>>
>>>>Why would this happen? Thanks and have a great day.
>>>
>>>most likely explanation is that the method executing the append or insert is being called twice.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform