Solved

Sending a Box to the Back in Reports

Posted on 2006-10-30
2
527 Views
Last Modified: 2010-08-05
 

I want to highlight an entire record on my report. I don't want to just change the color of the text box background.  I want to highlight the entire row.  The only I can think of doing this is to create a rectangle box that goes across the entire report.  Then create my Conditional Formatting to change the color of the entire box.  

My question is how can I bring my text boxes to the front or send the rectangle box to the rear.   Right now the text boxes are hidden behind the rectangle box.  I've tried something like this but I get errors.  It won't allow me to setfocus on a report:


Private Sub Report_Open(Cancel As Integer)
    Me.Box.SetFocus
    DoCmd.RunCommand acCmdSendToBack
End Sub
0
Comment
Question by:gfortuna
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 17839637
you can only do that in design mode

select the rectangle then in the Access menu Format>Send to back
0
 

Author Comment

by:gfortuna
ID: 17839688
I was definitely over thinking that one.  Thanks for you help capricorn!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

929 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

8 Experts available now in Live!

Get 1:1 Help Now