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