![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
i'm develop a new taskform. On the item_open-event i need to check if a control exist or not. How can i accomplish this? thanks & bye Oskar |
Ads |
#2
|
|||
|
|||
![]()
Function Item_Open()
On Error Resume Next Set pg = Item.GetInspector.ModifiedFormPages("My page") Set ctrl = pg.Controls("My control") If Not ctrl Is Nothing Then ' the control exists Else ' it doesn't exist End If End Function See http://www.outlookcode.com/article.aspx?ID=38 for more on Outlook property and control syntax. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Oskar Vaia" wrote in message ... Hi, i'm develop a new taskform. On the item_open-event i need to check if a control exist or not. How can i accomplish this? thanks & bye Oskar |
#3
|
|||
|
|||
![]()
Hi Sue,
thanks very much for your help. bye Oskar |
#4
|
|||
|
|||
![]()
Hi Sue,
now i have seen, that with this method i only check if the control exists. What have i to do, if i want to verify if the bind field to a control does already exist in the store or not? bye Oskar |
#5
|
|||
|
|||
![]()
Hi Sue,
i have resolved my problem with the control of the field-value for the value #1/1/4501#. I think this is the right way. What do you mean? bye Oskar |
#6
|
|||
|
|||
![]()
Sorry, but I don't know what you are referring to when you ask "what do you mean?"
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Oskar Vaia" wrote in message ... Hi Sue, i have resolved my problem with the control of the field-value for the value #1/1/4501#. I think this is the right way. What do you mean? bye Oskar |
#7
|
|||
|
|||
![]()
Exist in the folder's field definitions or exist in the item?
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Oskar Vaia" wrote in message ... Hi Sue, now i have seen, that with this method i only check if the control exists. What have i to do, if i want to verify if the bind field to a control does already exist in the store or not? bye Oskar |
#8
|
|||
|
|||
![]()
Hi Sue,
Sorry, but I don't know what you are referring to when you ask "what do you mean?" i refer to the problem for check if a field does already exists in the store or not. i do this with the check of the field-value #1/1/4501#. thx & bye Oskar |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exchange 2003: The e-mail account does not exist at the organization" when sending to ONE INTERNAL user | KingCronos | Outlook - General Queries | 3 | October 5th 07 01:20 PM |
Outlook 2003 VBscript.dll error | DianeC | Outlook - Installation | 3 | April 5th 07 12:04 PM |
Outlook View Control embedded in custom control | [email protected] | Outlook - General Queries | 1 | November 8th 06 12:41 PM |
Outlook View Control embedded in custom control | [email protected] | Outlook - Using Forms | 1 | November 8th 06 12:41 PM |
Outlook 2003 ADO connection string for use with VBScript... | M Scott S | Outlook and VBA | 14 | May 31st 06 11:14 PM |