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

>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.
>

That's exactly right on the money


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

Use IsEmpty() on certain fields???


>> 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? <<


The trouble I'm having with this is that I don't know how to remove the last appended record when the user is ready to end the add mode.

Thanks
JD
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform