PC Review


Reply
Thread Tools Rate Thread

Conditiional Formatting: Any way to get down to get behind the scene?

 
 
(PeteCresswell)
Guest
Posts: n/a
 
      8th Sep 2006
I've got a subform where the field's conditional formatting would
be expressed in VBA as:
-----------------------------------------
If [IsApproved]=False Then
.ForeColor=255 (red)
.BackColor=15329769 (lite gray)
End If
-----------------------------------------

But I'd like to take it further and say that
if I've got .Locked=False for the field in question,
..BackColor=(white).... Giving the user a visual
acknowledgement that the form is in "Edit" mode.

So, bottom line, is there anyplace where I can fine-tune/supplement conditional
formatting?
--
PeteCresswell
 
Reply With Quote
 
 
 
 
(PeteCresswell)
Guest
Posts: n/a
 
      8th Sep 2006
Per (PeteCresswell):
>-----------------------------------------
> If [IsApproved]=False Then
> .ForeColor=255 (red)
> .BackColor=15329769 (lite gray)
> End If
>-----------------------------------------
>
>But I'd like to take it further and say that
>if I've got .Locked=False for the field in question,
>.BackColor=(white).... Giving the user a visual
>acknowledgement that the form is in "Edit" mode.


Oops! Got it. The magic word is "Me."

viz
---------------------------------------
[IsApproved]=False And Me.Locked=True
---------------------------------------
--
PeteCresswell
 
Reply With Quote
 
(PeteCresswell)
Guest
Posts: n/a
 
      8th Sep 2006
Per (PeteCresswell):
>
>Oops! Got it. The magic word is "Me."
>
>viz
>---------------------------------------
>[IsApproved]=False And Me.Locked=True
>---------------------------------------



Oops... again...

Seemed to work until I tried to get cute and add another condition

Viz:
-----------------------------------------
[IsApproved]=False And Me.Locked=True (.BackColor=gray)
[IsApproved]=False And Me.Locked=False (.BackColor=white)
-----------------------------------------

Then it all stopped working until I went back to
a single "[IsApproved]=False"....

i.e. the compound logic stopped working altogether.

Anybody been here?
--
PeteCresswell
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inactivity of scene squirrelbox Windows XP MovieMaker 0 30th Nov 2008 07:39 PM
Scene Selection toomuchfun Windows XP Video 1 3rd Apr 2008 03:44 PM
Help with Dream Scene please Linda Perkins Windows Vista General Discussion 14 10th Mar 2008 06:19 PM
Scene Detection? Justin Windows XP MovieMaker 0 7th Mar 2008 07:13 AM
Can I use the date in conditiional formating? gargoyle Microsoft Excel Worksheet Functions 5 6th Aug 2006 05:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:28 AM.