Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204

    Did you look at the example app I showed in post #7?
    That works in continuous forms and in principle allows up to 256*256"256 colour combinations - almost 17 million.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  2. #17
    JohnGeeee is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    8

    Smile

    Quote Originally Posted by isladogs View Post
    Did you look at the example app I showed in post #7?
    That works in continuous forms and in principle allows up to 256*256"256 colour combinations - almost 17 million.
    Hi Isladogs
    I am starting to have a deeper look at it. I see it properly now, my eyes have been opened. It is very smart and I can see that the princple behind it should get me further headed in the right direction. I just have to digest it and work out how it works. I have made Access databses for many years but never got into VBA from scratch to work real magic. But this has helped my learning greatly. Many thanks for your help!

    PS. Does anyone else have typing problems in this forum? It is like my keyboard is broken and ever other character does not type out?

  3. #18
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Quote Originally Posted by JohnGeeee View Post
    Hi Isladogs
    I am starting to have a deeper look at it. I see it properly now, my eyes have been opened. It is very smart and I can see that the princple behind it should get me further headed in the right direction. I just have to digest it and work out how it works. I have made Access databses for many years but never got into VBA from scratch to work real magic. But this has helped my learning greatly. Many thanks for your help!

    PS. Does anyone else have typing problems in this forum? It is like my keyboard is broken and ever other character does not type out?
    No to the second question ...

    The colour values are stored in a table and can be used for back colour or fore colour. Feel free to ask if you don't understand how the method works

    Whilst conditional formatting could be used instead, I find this approach easier when there are a lot of formats required
    For example, I often use the approach for colouring different categories of calendar events.

    Click image for larger version. 

Name:	EditCalendar.PNG 
Views:	16 
Size:	101.8 KB 
ID:	41771

    The student grades form below also uses the same method. It is taken from the Colour conditions app on my website

    Click image for larger version. 

Name:	StudentGrades.PNG 
Views:	20 
Size:	21.7 KB 
ID:	41772

    Hope that helps
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  4. #19
    JohnGeeee is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    8
    Hi Helpers
    I am so excited! With your help I got it to work. I now have a continuous form that shows colour of each record item to the relevant RGB values and I can sort the colours by clicking on any other Colour column and using ascend and descend. I finaly figured out that the code had to go in a Private Sub Detail_Paint() section of the Form Code for each seperate record to be its own colour. That is the basic part done now I can go on to build my color tool.

    Thanks Everone
    John G

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 06-12-2019, 05:57 PM
  2. Replies: 10
    Last Post: 07-26-2018, 06:46 AM
  3. Replies: 6
    Last Post: 11-19-2017, 04:51 PM
  4. Replies: 12
    Last Post: 08-01-2017, 07:38 PM
  5. Replies: 7
    Last Post: 08-23-2014, 05:52 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