K
Ken Mitchell
Thanks to the excellent help that many of you here have provided, I've
managed to fool my boss into believing that I actually know something about
Access. But here's something I don't (yet) know how to do.
I'm working on an order-processing application. In the spirit of "Imitation
is the most sincere form of flattery", I have extensively plagi\\\\\adapted
the Northwinds database structure, so in the Order Details table, you will
find, among many others, a field called "PartNumber".
I am now writing a report for this order. If one of a list of part numbers
appear in the order, I'd like to show (or to make visible) a label or text
box to the OrderID footer. Writing the label or text box isn't the
challenge; even making it (in)visible is within my scope.
What bugs me is that I can't figure out how to write the if-then syntax to
look at the list of part numbers, see that one of them is there, and then
either display or hide the label.
So, if PartNumber AB123W appears in the OrderDetails for this order, I want
to display some information about the order. If this part does NOT appear in
the list, I want to hide this label or text box.
And of course, this is me; I'm looking for the easiest way to do it.
Any suggestions?
Thanks in advance for this, and thank you SO much for all you have helped me
with so far.
Ken Mitchell
Citrus Heights, CA
Where, in this time of "global warming", the temperature never exceeded 100
degrees in August, 2006!
managed to fool my boss into believing that I actually know something about
Access. But here's something I don't (yet) know how to do.
I'm working on an order-processing application. In the spirit of "Imitation
is the most sincere form of flattery", I have extensively plagi\\\\\adapted
the Northwinds database structure, so in the Order Details table, you will
find, among many others, a field called "PartNumber".
I am now writing a report for this order. If one of a list of part numbers
appear in the order, I'd like to show (or to make visible) a label or text
box to the OrderID footer. Writing the label or text box isn't the
challenge; even making it (in)visible is within my scope.
What bugs me is that I can't figure out how to write the if-then syntax to
look at the list of part numbers, see that one of them is there, and then
either display or hide the label.
So, if PartNumber AB123W appears in the OrderDetails for this order, I want
to display some information about the order. If this part does NOT appear in
the list, I want to hide this label or text box.
And of course, this is me; I'm looking for the easiest way to do it.
Any suggestions?
Thanks in advance for this, and thank you SO much for all you have helped me
with so far.
Ken Mitchell
Citrus Heights, CA
Where, in this time of "global warming", the temperature never exceeded 100
degrees in August, 2006!