Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 records added on INSERT & REPLACE
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102309
Message ID:
00102592
Views:
19
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
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform