basic checkbox instructions

J

Jim Ojala

Where can I find basic instructions for the checkbox programming that
needs to go on the Read page of a custom form? I only want the
checkboxes that were selected on the Compose page to appear on the Read
page. Thank you.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
H

Hollis D. Paul

Where can I find basic instructions for the checkbox programming that
needs to go on the Read page of a custom form? I only want the
checkboxes that were selected on the Compose page to appear on the Read
page. Thank you.
You can't delete them, but you can disable and hide them. These are the
standard VB methods, so I would look them up in VB help. When I was
doing a lot of Outlook forms design, I kept a VB project open just so I
could quickly go there and look up the help info.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
S

Sue Mosher [MVP]

You'd need to put code in your Item_Open event that (a) determines whether the compose or read layout is showing (see http://www.outlookcode.com/codedetail.aspx?id=32) and (b) sets the Visible property on the checkboxes in question according to their value; see http://www.slipstick.com/dev/propsyntax.htm if you are not familiar with working with Outlook form control properties.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
J

Jim Ojala

Sue,

Thank you for your answer.

I did not want unchecked check boxes on the Read page at all, even if
not visible, so I used the following code on the read page in a label
box with the font appearance I wanted, etc.:

iif([kPlsCll]="-1","Please Call"&Chr(10),"")
&iif([kCllAgn]="-1","Will Call Again"&Chr(10),"")
&iif([kRtndCll]="-1","Returned Your Call"&Chr(10),"")
&iif([kCYou]="-1","Wants to See You"&Chr(10),"")
&iif([kSpclAttn]="-1","Special Attention","")

This also lets the resulting phrases appear snugged up underneath one
another. "-1" stumped me. If the checkbox field is created as Yes/No
type with True/False format, then Yes equals "-1".

I put the formula in the Read Page field's properties, so it had to be
255 characters or less. whew! just barely



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top