Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug? relating to ImmediateDelete = false
Message
From
18/12/2008 14:04:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
18/12/2008 12:33:47
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01367909
Message ID:
01368607
Views:
8
>>I am getting a "There is no row at position -1" application exception error under the following circumstances:
>>
>>I set ImmediateDelete = false in ABusinessObject because I want deletes to be applied to the backend tables only when I Save changes.
>>
>>I use a MaintenanceForm to select one record and immediately click the delete button to delete that single record. I confirm that I do want to delete the record.
>>
>>I then click the Save button (or the Close button and then confirm that I do want to save the changes) to apply the deletion to the backend table.
>>
>>Then I get the "There is no row at position -1" application exception error.
>>
>>This procedure is so simple to reproduce I am surprised that the problem has not been fixed already. I am using the most recent version.
>
>Does anyone have a solution to this BUG? Kevin?

Hi Sam,

I haven't had the opportunity to use or need this feature so can't help. I was wondering if you had stepped through the code to see why it wasn't working correctly? Is the data not getting posted back to the business object after the save so there is no rows?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform