Alpha DevCon 2018
Results 1 to 2 of 2

Thread: Alternating Row Colors in Reports

  1. #1
    Member
    Real Name
    jacksonjob0689
    Join Date
    Jul 2018
    Posts
    1

    Default Alternating Row Colors in Reports

    Hello, I would like to have alternating row colors in a report. Using V10, I was able to have alternating row colors using the dynamic properties, but due to the fact some of our sales staff are still using V9 on their computers, I was wondering if there was a way of having alternating row colors in a report in V9.

    Thanks,
    Jackson

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    24,998

    Default Re: Alternating Row Colors in Reports

    It can be done by putting a conditional object in the detail region. The conditional will have two condition panes

    mod(mrecno(),2) = 0
    for even numbered records
    mod(mrenco(),2) = 1
    for odd numbered records

    Add a text object to one or the other of the condition panes and set its background to the color desired. The fields for the report should be placed on both condition panes and ordered to front.

    Image 5.png
    Last edited by Stan Mathews; 07-10-2018 at 09:25 AM.
    There can be only one.

Similar Threads

  1. Embeded Browse Alternating Row Colors
    By preston2 in forum Alpha Five Version 11 - Desktop Applications
    Replies: 13
    Last Post: 09-07-2017, 04:22 PM
  2. Alternating row colors in Viewbox list
    By Steve Workings in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 01-11-2017, 07:20 PM
  3. Alternating colors in a Dialog 2 repeating field - how to
    By MichaelCarroll in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 01-17-2012, 06:15 PM
  4. Alternating Row Colors in Reports
    By jbk in forum Alpha Five Version 9 - Desktop Applications
    Replies: 2
    Last Post: 01-11-2012, 04:18 PM
  5. Alternating row colors in browses.
    By programsplus in forum Alpha Five Version 9 - Desktop Applications
    Replies: 2
    Last Post: 11-01-2008, 06:34 PM

Bookmarks

Posting Permissions

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