General information
Category:
The Mere Mortals .NET Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only