Name:
Location: Rowland Heights, California, United States

Wednesday, March 30, 2005

Simple Ways to Create a New Record Using Mere Mortals.Net

When adding a new record using a Mere Mortals.Net Business Object be default it doesn't automatically display the empty record on a form or the "pointer" doesn't seem to be sitting on the new record.

There is a couple way to take care of this issue:

1 - you can put code in the hookpostnew method of the form and use the bindingcontext object to display the last record of the dataset.

2 - if you don't have a grid on the form and you only display one record at any given time you put code in the hookprenew method to clear the dataset.

0 Comments:

Post a Comment

<< Home