PC Review


Reply
Thread Tools Rate Thread

How do I format a field based on the value

 
 
Mommybear
Guest
Posts: n/a
 
      24th May 2010
I have a form that is populated from a query using several tables. In the
detail section I have the following fields:

Category Code qty PO number ... .... ...

The qty is populated in the query based on whether or not a PO number is
available. If the PO number is not available then it comes from table a, if
it is available then it comes from table b.

On the form, I have my fields color-coded for easy reading. I would like to
be able to color the border and column heading based on where this value
comes from. If table A, then it is blue, if table b then it is red and
blocked from being updated (Locked = Yes).

Is this possible to do and if so How? If VBA coding is involved, please
spell it out for me as I'm still learning this. Thank you.
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      27th May 2010
On Mon, 24 May 2010 12:52:04 -0700, Mommybear
<(E-Mail Removed)> wrote:

No VBA required, just a look at "Conditional Formatting".

-Tom.
Microsoft Access MVP


>I have a form that is populated from a query using several tables. In the
>detail section I have the following fields:
>
>Category Code qty PO number ... .... ...
>
>The qty is populated in the query based on whether or not a PO number is
>available. If the PO number is not available then it comes from table a, if
>it is available then it comes from table b.
>
>On the form, I have my fields color-coded for easy reading. I would like to
>be able to color the border and column heading based on where this value
>comes from. If table A, then it is blue, if table b then it is red and
>blocked from being updated (Locked = Yes).
>
>Is this possible to do and if so How? If VBA coding is involved, please
>spell it out for me as I'm still learning this. Thank you.

 
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
Format text box based on table field format Jeff Hunt Microsoft Access Form Coding 5 24th Nov 2008 09:48 PM
Conditonal Format on a Field based on Percentage value =?Utf-8?B?ZWZhbmRhbmdv?= Microsoft Access Forms 6 5th Feb 2007 10:40 PM
How to Format a Row based on value of field on that row =?Utf-8?B?U3Rldw==?= Microsoft Access Reports 1 20th Jun 2006 08:55 PM
can access disable a field based on the format of another field? =?Utf-8?B?a2tqZEBob3RtYWlsLmNvbQ==?= Microsoft Access Form Coding 3 6th Jun 2006 04:54 PM
Conditional format based on another field value =?Utf-8?B?bGEga25pZ2h0?= Microsoft Access Reports 1 25th Apr 2006 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 PM.