Author Topic: Element status setting???  (Read 3430 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Element status setting???
« on: November 17, 2004, 05:57:52 pm »
What am I doing wrong - after excecution the element is entered, the name,notes and type etc is correct but the status is set to Proposed?

Function addreq(desc As String, dets As String) As String
   Dim rr As Object
   Set rr = reqtspkg.Elements.AddNew(desc,  "Requirement")
   rr.Notes = dets
   rr.Status = "Approved"
   rr.Type = "Functional"
   rr.Update
   reqtspkg.Elements.Refresh
   addreq = rr.ElementGUID
End Function

tia
Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

thomaskilian

  • Guest
Re: Element status setting???
« Reply #1 on: November 18, 2004, 03:03:45 am »
Actually nothing one could easily recognize. I tried it here (using PERL) and it work "as designed".  Maybe the problem is somewhere else?