Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I navigate to last record of dataset?
Message
 
To
30/03/2005 15:26:48
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01000079
Message ID:
01000107
Views:
20
I have a simple directory form in which I have 3 text fields and an Add button. The primary business object is set to ST_RELAT_BO. When I click Add, a new row is added to my dataset for this business object. I want my fields to refresh accordingly to this newly added row to the data set. Is there a simple command that I can call that will refresh my text boxes to use the new row so that I can continue adding the information? Right now, when I click ADD, the form never refreshes to the new row so I can't enter the information.

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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform