Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BOC STDTEXT.Delete just errors...

Status
Not open for further replies.

sdoughty

MIS
Sep 10, 2002
17
0
0
AU
Hi,
Has anyone got the Delete method of the STDTEXT object working in BOC? We are just getting an error and it shouldn't be that hard...we can create, retrieve std text with no problems.

MyBlock = mobjMIMS.MIMSConnector.Blocks.[New]("MyBlock")
ExtendedDescription = MyBlock.Requests.New("ExtendedDescription")
With ExtendedDescription
.Instances.New("Inst1")
.AddFieldNameValue(MIMSX.MIMSX_REQUEST_FLAGS.MIMSX_FLAG_SERVICE, "STDTEXT.Delete")
.Instances.Item("Inst1").AddFieldNameValue("StdTextId", strStdTextID)
End With
MyReply = MyBlock.Send


Thanks,

Steve
 
An Update...

By wrapping the request up in a transaction (using _BeginTxn and _Commit), the delete works.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top