Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append blank automatically??
Message
De
06/03/1997 09:22:53
 
 
À
06/03/1997 00:19:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00023087
Message ID:
00023120
Vues:
24
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform