Steve
Let me give an example and you tell me if I understand you right.
You click on a purchase order number.
All associated rows become gray
You click on another PO
The previous rows return to normal and the newly selected PO has its associated rows turn gray.
Is the above right?
-Bill
---In MS_Access_Professionals@yahoogroups.com, <thaw5@suddenlink.net> wrote :
---In MS_Access_Professionals@yahoogroups.com, <thaw5@suddenlink.net> wrote :
Hi Bill,
My goal is to gray the rows associated with every other purchase order. While the recordset is sorted by purchase order ascending, there are randomly missing purchase order numbers. So, to answer your question, a change of purchase order number should gray the rows associated with that purchase order. And the next change of purchase order number should stop graying the rows associated with it.
Steve
On 12/18/2015 11:52 AM, wrmosca@comcast.net [MS_Access_Professionals] wrote:
My goal is to gray the rows associated with every other purchase order. While the recordset is sorted by purchase order ascending, there are randomly missing purchase order numbers. So, to answer your question, a change of purchase order number should gray the rows associated with that purchase order. And the next change of purchase order number should stop graying the rows associated with it.
Steve
On 12/18/2015 11:52 AM, wrmosca@comcast.net [MS_Access_Professionals] wrote:
Steve - What determines which row should be gray? Conditional Formatting would be the way to go for this as long as you have something that earmarks a record as needing to be gray.
Regards,Bill Mosca, Founder - MS_Access_ProfessionalsMicrosoft Office Access MVPMy nothing-to-do-with-Access blog
---In MS_Access_Professionals@yahoogroups.com, <thaw5@suddenlink.net> wrote :
I have a continuous form consisting of these fields: purchase order
number, item description, item quantity, item cost, date and other
fields. The underlying query is sorted by purchase order number
ascending. Each purchase order has a random number of items associated
with it. Some purchase order numbers are missing.
I'd like to set the background color to a light grey for every other
purchase order for all of the fields in the rows associated with that
purchase order. I have looped through a recordset and successfully
picked out the rows for which I want a light grey backcolor. I set the
FieldName.Backcolor property to the light grey color but I always end up
changing the backcolor of all of the rows. How do I restrict the
backcolor change to just the selected rows?
Steve
__._,_.___
Posted by: wrmosca@comcast.net
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (8) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar