(Contents)(Previous)(Next)

SetCompany(company As Object)

Description: Associates the conversation with the passed in company.
Syntax: object.SetCompany(company)
Parameters:
object Required, the Conversation object
company The company to associate with the conversation.
Remarks: This method associates this conversation with the passed in company. This means that the conversation will appear as a history item against the passed in company.
Returns: Nothing
Example:
Dim session As Object

Set session = CreateObject("OfficeTalk.Session")

Set user = session.Logon(login name, password)

Set conv = session.GetConversations.GetFirst

Set comp = session.GetCompanies.GetFirst

Call conv.SetCompany(comp)


Next