Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement