if/then statements and conditional formatting 
Author Message
 if/then statements and conditional formatting

Hello
I am hoping to get information on how to create if/then statements.  We
create a annual directory of services and have many yes/no questions (check
boxes) we want to be able to only show those services that the program
indicated it provides (only bosex that are checked).

I also need information on how to do conditional formating for a report
based on the above, how do i plan a layout when spacing may be less or more
per organization based on their selection of services?? Any guides or online
sites would be helpful!.
J.Oblak



Sun, 06 Mar 2005 01:19:16 GMT  
 if/then statements and conditional formatting

Quote:
> Hello
> I am hoping to get information on how to create if/then statements.  We
> create a annual directory of services and have many yes/no questions
(check
> boxes) we want to be able to only show those services that the program
> indicated it provides (only bosex that are checked).

> I also need information on how to do conditional formating for a report
> based on the above, how do i plan a layout when spacing may be less or
more
> per organization based on their selection of services?? Any guides or
online
> sites would be helpful!.
> J.Oblak

Use an array of checkboxes.

Dim n as Integer

For n = MyChechBox.LBound To MyCheckBox.Ubound
    If (MyCheckBox(n).Value = VbChecked) Then
        'Add the item   (you could use the CheckBox Tag property to store a
pointer of some sort)
    End If
Next



Sun, 06 Mar 2005 04:48:14 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Formatting question: do I need conditional formatting?

2. Conditional statement based on security

3. String > Conditional Statement Access 97

4. conditional statements

5. Using Conditional Statements with Gantt Bars

6. VBA in a macro + conditional statement on FIND

7. Q: conditional statement, string condition

8. printing with crystal rpts and conditional statements

9. 3rd party that does conditional statements

10. Help: If Statement with conditional database fields?

11. Help with VB conditional statement...

12. Are two connections necessary on conditional SQl statement?

 

 
Powered by phpBB® Forum Software