Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizbtns class
Message
De
08/01/2001 15:35:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00457739
Message ID:
00460783
Vues:
9
>I need to modify this so that when a person clicks 'ADD', it populates a field with the current recno(). But I can't modify this class. I tried copying the
class but I still can't tinker with it. I'd like to know how the 'REVERT' button shows up when the 'ADD" is clicked. Thank you.

>However don't undertake my original reply. It's dangerous to store recno() in a buffered table. Till table is updated you have a teporary recno() for new
records (with negative value). They always start from -1 and in each append session. This means if you were updating (save updates) per record you'd
be saving always -1 to the field.

Tim, as for "adding" a new record populated with current record, I put in code SCATTER MEMVAR in cmdAdd.Click before DoDefault() and then fill in the txt[Field].values with the saved memory variables (m.field) values. Hope I make sense.
Thanks!
~d
J
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform