Access 2007 Order Database Question

Posted on 2012-09-06
Last Modified: 2012-09-08
Hi everone,

Please find my attached database for review.  When the user selects Vendor/Store Number with the mouse and selects the Product/Price/QtyAvailable with the mouse, I need the selected row to tunr "Red" when the AvailableQty for the product is "0".  I also need the row to trun yellow when the QtyAvailable is >0  and <11.  How can I do this with VBA code.  The textBox unbound is know as Product.

I have the database allowing this but it is turning the entire background Red or Yellow based on the Qty Available.  I do not wnat this.  I want only the selected Product/Price/QtyAvailable row to turn "Red" or "Yellow"

Any help is appreciated.

Question by:jjc9809
    1 Comment
    LVL 77

    Accepted Solution

    For continuous forms you must use Conditional Formatting (on the Format ribbon or on right-click menu) to format individual controls.  You cannot do it in code.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
    My experience with Windows 10 over a one year period and suggestions for smooth operation
    The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now