Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append blank automatically??
Message
From
06/03/1997 09:22:53
 
 
To
06/03/1997 00:19:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00023087
Message ID:
00023120
Views:
28
>>I don't know why my 'Add' form alway give me a extra blank record.
>>I place the append blank command at the init event of the form( I intend to append it manually). I insert a suspend command at the beginning of the init event,so I can trace it by the tracer. I discover that before my append command is executed, a blank record is appended. I don't know why it is done. So it always give me a extra blank record. But I don't want that happens, how can I do?
>>In my form, there are controls include listbox, combobox, textbox, editbox, checkbox, label, optiongroup, page.
>>
>>Thanks
>P.S. This happen when the table is empty( after zap the table).
>But ok when not empty??

I guess you have to carefully check all Init events for form controls. Probably you left some code over there with APPEND command. BTW, it's always mush better to use INSERT INTO at the end of 'add new record' process.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform