Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saves extra record
Message
From
08/10/1997 15:30:25
 
 
To
08/10/1997 15:23:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00053746
Message ID:
00053766
Views:
24
>>>I created a form with a pageframe.
>>>On 1-st page grid for product file,
>>>on 2-nd page entry form for editing old
>>>and creating new records.
>>>When I create a new record it saves two similar
>>>records. How to get rid of this double?
>>>Thanx in advance.
>>>
>>>Ed
>>
>>Just look at code which creates a record (INSERT or APPEND, whatever) and don't fire it twice.
>
>While creating a new record I move the pointer
>and changes are saved in the current record.
>It works
> TABLEREVERT()
> APPEND BLANK
> Replace alpha with beta, ...
>Thankx for help
>
>Ed

Probably you move pointer one more extra time somewhere. There is good rule not to use Append when creating new record (use Insert-SQL instead).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform