• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Problem getting outlook form to work

Red Squirrel

No Lifer
I'm trying to make a basic outlook form, but its not working. I have a field called Fsrdata and this is my code:


Code:
Function Item_Send()

 DateData = ""
 SrNameData = ""

 Set FormPage = Item.GetInspector.ModifiedFormPages("Message")
 Item.Subject = "Pre-Survey"

 DateData="date data"


 'SR Name
 If item.userproperties.find("Fsrdata").value <> "" Then
   SrNameData = "Business Name:  " & item.userproperties.find("Fsrdata").value & chr(10)
 End If



 Item.body = DateData & SrNameData


End Function


When I try to use the form I get the error:

Object required: 'Item.userproperties.find(...)' Line No:13

This same code works in another form, so I'm puzzled.

This is with Outlook 2003
 
Back
Top