PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Please help with Function Item_Open()
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Please help with Function Item_Open()
![]() |
Please help with Function Item_Open() |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Public Task Folder:
My form runs fine until I add this into my script: Function Item_Open() If Item.UserProperties("TaxExempt") = True Then Set ins = Item.GetInspector Set pgs = ins.ModifiedFormPages Set pg = pgs("PM") Set ctls = pg.Controls ctls("combobox34").Enabled = False else Set ins = Item.GetInspector Set pgs = ins.ModifiedFormPages Set pg = pgs("PM") Set ctls = pg.Controls ctls("combobox34").Enabled = True End If End Function When another user on exchange opens a Task, they get an error saying cannot open the form, will use the default form instead. Any ideas? Thanks - Joel |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Outlook version? Where is the form published? Have you tried having the
other user clear their forms cache? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Joel" <joelallen123@hotmail.com> wrote in message news:O3jZC2aLEHA.1388@TK2MSFTNGP09.phx.gbl... > Public Task Folder: > > My form runs fine until I add this into my script: > > Function Item_Open() > If Item.UserProperties("TaxExempt") = True Then > Set ins = Item.GetInspector > Set pgs = ins.ModifiedFormPages > Set pg = pgs("PM") > Set ctls = pg.Controls > ctls("combobox34").Enabled = False > else > Set ins = Item.GetInspector > Set pgs = ins.ModifiedFormPages > Set pg = pgs("PM") > Set ctls = pg.Controls > ctls("combobox34").Enabled = True > End If > End Function > > When another user on exchange opens a Task, they get an error saying cannot > open the form, will use the default form instead. > > Any ideas? > > Thanks - Joel > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

