baan2tm0
29th March 2006, 17:04
when I use stpapi.enum.answer in VB.NET it doesnot seem to work for me. Here's how I use it:
stpapi.enum.answer("tihra1101m000","tihras0029",2)
where:
Session="tihra1101m000"
Question ="tihras0029"
Answer=2(tcyesno.tcno)
This is supposed to be used in the Hours Accounting Module, when we set the Man Tm field to some other value and save the record, a question/session (tihras0029) will popup and ask "Update man hours till calculated value?". I am trying to set the answer to this question to No but it does not work.
stpapi.enum.answer("tihra1101m000","tihras0029",2)
where:
Session="tihra1101m000"
Question ="tihras0029"
Answer=2(tcyesno.tcno)
This is supposed to be used in the Hours Accounting Module, when we set the Man Tm field to some other value and save the record, a question/session (tihras0029) will popup and ask "Update man hours till calculated value?". I am trying to set the answer to this question to No but it does not work.