Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Location
    ha noi
    Posts
    24

    Question Unanswered: How to change the Record Color...???

    Hi all,
    I am using ORA FORM 9i to create a Query form that containt two categories of data and I want to display them on the different of color. For example, if the record is Category 1, the color is red, and else the color is blue.
    Some one give me an advice?
    Thanks a lot!

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1
    1) Create a Visual Attribute with the required foreground and background colours.

    2) Use SET_ITEM_INSTANCE_PROPERTY to set the required item(s), e.g.

    SET_ITEM_INSTANCE_PROPERTY( 'blk.item1', TO_NUMBER(YSTEM.TRIGGER_RECORD), VISUAL_ATTRIBUTE, 'VA_CATEGORY1' );

  3. #3
    Join Date
    Dec 2003
    Location
    ha noi
    Posts
    24

    Wink thank for your help

    Thank for your help, I got it...!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •