Change textbox colour depending on data

Posted on 2009-12-23
Last Modified: 2013-12-17
Hi all
I want to retrieve data from a table. There is a cloumn "POINTS" in that table which can consists  postive and negative values like 30,-5 etc. I want that when i retieve this data using oracle form by pressing exdcute query button, the text box having negative entries should have red background while positive entries should have green background.
Can anyone tell me how to do that.
Question by:novice_user
    LVL 4

    Expert Comment

    What are you coding this in?  HTML?  I have the code to do this specifically in HTML if that's what you're programming this in.

    Accepted Solution

    Dear souquetbr
    I wanted to do it in Oracle form builder. Thx for ur comments. I solved the problem myself

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
    The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
    This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.

    731 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