Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with New button
Message
 
To
22/07/2008 19:17:30
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01332870
Message ID:
01333875
Views:
9
>>Tim,
>>I thought you would be interested in the solution for this. I got it from Josh Horne at OakLeaf. I had to add the following code in order to position the pointer to the end of the table.
>>
>>
>>this.BindingContext[oBizObject.GetCurrentDataSet(), "TableName"].Position = oBizObject.GetCurrentDataSet().Tables["TableName"].Rows.Count - 1;
>>
>>Thanks for all your help.
>>
>
>I thought you had tried that. It is the same code from the dev guide under mmButtonNew of Using Specialized Buttons. I must have missed some communication there. Glad you got it working.
>Tim

Hi Tim,
I ended up talking to Josh before I got back to the dev guide. I must admit, I didn't really think that the heading "Specialized Buttons" applied to this because I was just adding a simple feature to the standard button. In fact, as I guess you found, the problem occurred even when I didn't add any code to the standard mmbuttonNew. By the time I got that suggestion from you, I was ready to weave baskets for a living. I can't thank you enough for all your help.
Linda Harmes
HiBit Technologies, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform