Whats the easiest way to delete all records in a business object and update the server


Whats the easiest way to delete all records in a business object and...
Author
Message
Mike Thomas
Mike Thomas
StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)StrataFrame Beginner (36 reputation)
Group: Forum Members
Posts: 26, Visits: 82
Whats the easiest way to delete all records in a business object and update the server? Also, how do you supress the "Are you sure message?"?.  the following does not seem to be working....

Me.CasedetailBO.Clear()

Me.CasedetailBO.FillByCaseNum(lcSRNum)

Me.CasedetailBO.MoveFirst()

Do

Me.CasedetailBO.DeleteCurrentRow()

Loop While CasedetailBO.MoveNext

Me.CasedetailBO.Save()


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search