Re: Custom form coding?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 02/17/05


Date: Thu, 17 Feb 2005 17:52:53 -0500

See http://www.outlookcode.com/d/propsyntax.htm#unbound for details on the
correct syntax for referring to Outlook form controls.

FYI, there is a newsgroup specifically for Outlook forms issues "down the
hall" at microsoft.public.outlook.program_forms or, via web interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_forms

-- 
Sue Mosher, Outlook MVP
Author of
     Microsoft Outlook Programming - Jumpstart for
     Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx
"Cwhitmore" <Cwhitmore@discussions.microsoft.com> wrote in message 
news:B50AE204-A23F-4D93-B6A6-5F69A03DD5A1@microsoft.com...
> I'm trying to check for a condition in a text box on a form when the 
> "done"
> button is hit. It's telling me the second line has a syntax error. Can
> someone help with this or direct me to some Outlook Coding tips on the 
> web?
> I'm using Exchange 2003 with Outlook 2003.
>
> Sub DoneButton_Click 'Runs when DoneButton is clicked.
> If TextBox2.Text <> ""
> OptionButton2.Value = Yes
> Endif
> Item.Close(0) 'Close the form. (0) means don't ask for confirmation.
> End Sub
>
> 

Quantcast