Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problem refreshing after NEW clicked
I have problem refreshing a winform after clicking on the ‘NEW’ button.
The form inherits from a subclassed form which inherits from mmBusinessform. My subclassed form has no overrides of any mmBusinessform methods.
I have set up the form with a business object and think I have added all the code to properly bind to the data source. There is no data navigation grid on the form and for testing I just call the business object from a button which calls the getdataset method. This queries the data source and displays the correct row just fine. The SAVE button saves the changes ok.
The form has an instance of the mmButtonNew but when I click this button the previous record still appears in the form. A row is added to the table in the dataset but the form does not refresh to the newly added row.
How can I refresh the form with the newly added row?
Thanking you in advance,
Terry Carroll
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