Results 1 to 9 of 9
  1. #1
    cl3093 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    5

    Continuous Form colors

    Can I change the backcolor of a row based upon its value like points = 75?

    Thanks.

    cl3093

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Look at Conditional Formatting.

  3. #3
    SteveH2508 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Chelsea, London, England
    Posts
    116
    Try this out.

  4. #4
    cl3093 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    5
    Steve,

    How do you change color in frmseveral, code or conditional format? I don't see any code behind it.

    I tried to change color of my form by code and failed.

    Thanks very much.

    cl3093

  5. #5
    cl3093 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    5
    Rural,

    I need to use a var as criteria like
    Points = mycolor instead of a number

    Thanks very much.

    cl3093

  6. #6
    SteveH2508 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Chelsea, London, England
    Posts
    116
    Quote Originally Posted by cl3093 View Post
    Steve,

    How do you change color in frmseveral, code or conditional format? I don't see any code behind it.

    I tried to change color of my form by code and failed.

    Thanks very much.

    cl3093
    The bound object frame frbcolours displays the 1x1 coloured bitmap retrieved from tblColours by the recordsource query qryseveralcolours.

  7. #7
    cl3093 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    5
    is it possible using code to check the value of cell of a row and then change its backcolor according?

    Thanks.

    Charles

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Quote Originally Posted by cl3093 View Post
    Rural,
    I need to use a var as criteria like
    Points = mycolor instead of a number
    Thanks very much.
    cl3093
    So the Points are *not* in a field in the RecordSource of the Form?

  9. #9
    cl3093 is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    5
    My form has a sub form which is continuous form and gets data from query directly. One cell is price. I want to change the backcolor of price according to its value.

    Thanks.

    Charles

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filter a Continuous Form
    By michel_annie22 in forum Forms
    Replies: 7
    Last Post: 11-09-2011, 07:34 AM
  2. Replies: 1
    Last Post: 07-22-2010, 05:55 AM
  3. programming a continuous form?
    By Ferret in forum Programming
    Replies: 3
    Last Post: 05-30-2010, 04:51 PM
  4. set continuous form height
    By taylorosso in forum Forms
    Replies: 0
    Last Post: 08-31-2009, 05:26 AM
  5. Continuous Form
    By duckie10 in forum Access
    Replies: 13
    Last Post: 06-09-2009, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums