Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting weird row affect after saving new row
Message
From
09/02/2007 07:53:43
 
 
To
07/02/2007 08:28:08
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01192399
Message ID:
01194014
Views:
14
Kevin gave me the solution to my problem. It's nice to know smart people. This 64 year old brain is slowing down as we speak.

At any rate the problem was mine, not his program. As you can see from the code:

..Private Sub NewLineItem()
....'Create new line item record
....Me.oItems.NewRow(New PurItemDefaults(Me.oItems.Entity.itemid))
....Me.grdItemListing.NavigateData(mmNavigate.Last)

this code isn't really needed since I was using the mmButtonSave control. Not only was the control doing a save, but there was a second save being done by me here. After commenting out these two lines, the row was added correctly and the other line items weren't affected. He said if I had used just the mmButton control this code would probably have worked correctly as well.

My only excuse is that this is from a previous implementation of my application and I must have used the mmButton in it, instead.

Thanks again, Kevin.

CU all.
Previous
Reply
Map
View

Click here to load this message in the networking platform