/ Forums / Advansys Formativ / Creating Solutions with Formativ / Creating a Posted Task / Reply To: Creating a Posted Task
Hi,
Thanks for the info’s. It works. Juhu … ;-))
Sometimes i am a little confused when i do a search in the language guide.
Sample:
Sub Main(Client, GWEvent)
dim iMsg
dim sMessage
dim NL
dim InsTab
dim Stemp
NL = Chr(13) & Chr(10)
InsTab = Chr(9)
Stemp = NL & NL & _
“~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~” & NL & _
“geändert am: ” & Date & ” – ” & Time & NL & _
“~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~” & NL & NL
set iMsg = Client.ClientState.CommandMessage
sMessage = GroupWise.ItemGetText(iMsg.MessageID, itfMessage)
‘MsgBox iMsg.MessageID
sMessage = Stemp & sMessage
Call GroupWise.TextSetMessage(sMessage, False)
End Sub
With the statement GroupWise.ItemGetText i get the message of the task. To modify the text i used first GroupWise.ItemSetText. But it does not work. After searching in the sample scripts i found GroupWise.TextSetMessage. This works fine.
Thanks again.
Ralf