Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference one form from another
Message
De
19/07/2000 03:24:40
 
 
À
18/07/2000 19:44:11
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393630
Message ID:
00394200
Vues:
13
Hi Jimmy.

>> What I'm doing with the form references is when you click on "save" I want a box to come up asking if the user would like to append a new record. Is there already a similar class to perform this function? <<

Where is the Save button? And where are you appending a new record? In a child table? I am a bit confused here. If the user has changes to save, what does it have to do with appending a new record?

>> Also, I'm sure a better way would be to have the save method go ahead and append a new blank record on each save, and when the append mode is closed - remove the last blank record. How do I cancel an append blank once its implemented? <<

Oh, I think I understand now. You want to implement something like a continuous add mode. Hmmm. IIt all depends on how your application is structured. Off the top of my head, I would allow the user to configure it by checking a checkbox on the form that says 'Continuous add' or something like that. And then, in the Save() method, add code to check for Thisform.lContinuousAddMode and call the New() method if it is true.

You would have to put some code into your validation that does not allow the user to save blank records.

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform