473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Report design question

Seth Schrock
2,965 Expert 2GB
I've got a report that that I use as an invoice and I want a certain textbox to be positioned on the bottom of the last page. Some invoices have only one page and some have two. I would put it in the Report Footer, except that if the data ends in the middle of the page, the textbox will be in the middle of the page as well. If I put it in the Page Footer, I think that it will print on the bottom of every page, which I don't want. Is it possible to do something like the following in the OnLoad event (or some other event) for the report?

Expand|Select|Wrap|Line Numbers
  1. If Page = Pages Than
  2.      Me.text1.visible = True
  3. Else
  4.      Me.text1.visible = False
  5. End If
The only thing is I don't know if it will run it for each page. So if there is two pages, page 1 wouldn't have the textbox visable but page 2 would. Also, would I get the space to use for the data portion of the report?
Jan 6 '12 #1

✓ answered by sierra7

Hi
Put the code in the On_Format event of the Page Footer.

It will work better if you use If..Then, rather than If..Than (typo!)
S7

5 1304
Mihail
759 512MB
Is easy to see that. Open the report for preview.
Jan 7 '12 #2
Seth Schrock
2,965 Expert 2GB
If you are meaning that I should just give it a try, I will on Monday when I get to work. If that isn't what you are meaning, the I'm not sure what you are meaning.
Jan 8 '12 #3
NeoPa
32,556 Expert Mod 16PB
Seth,

I think what Mihail is trying to say (I'm not sure, but he'd be correct to if he were) is that you should be checking this for yourself before posting the question. I know you don't have access to your project at the moment, and also that you get a lot of leeway as you contribute much yourself, but we do expect more preparation be done by members before posting questions.

As I say, as a helpful member yourself, I personally would be happy to help where possible anyway. Unfortunately, also due to the lack of preparation, the question is also pretty unclear and open-ended. I don't have the experience with reports I'd need to put you right, and your current position doesn't have much in the way of pointers to where best to look even.

Why don't you have a look at this again on Monday and tell us what you've tried and where, and we'll see what we can do to direct and assist if that is even still necessary.
Jan 8 '12 #4
Mihail
759 512MB
Yes. For both of you.
Jan 8 '12 #5
sierra7
446 Expert 256MB
Hi
Put the code in the On_Format event of the Page Footer.

It will work better if you use If..Then, rather than If..Than (typo!)
S7
Jan 9 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: James Walters | last post by:
Hello, DB novice checking in here with a basic design question. I have a table called 'nms_apps' which stores information about all of our applications which we have developed/maintained for...
2
by: Josh Benton | last post by:
I'm sure there's any easy solution to this problem but I've hit a wall trying to figure it out... How can I get a report to rotate to show a row vertically and expand along the length of a page...
3
by: Pea | last post by:
How do you add a header or footer to an Access report? I followed the Help suggestions of clicking on the View dropdown and either check or uncheck Header/Footer - but that only deletes an...
0
by: Newbillian | last post by:
I am using Access 2003 and each time I select an object with the mouse in the report design view, the system hangs for about 5 seconds before I can move on to another one. It really slows down...
3
by: New Guy | last post by:
Is it possible to use two different tables with the Report Design Wizard? My report requires data from two different tables and I can't figure out how to get the wizard to accept the second one. ...
1
by: cincy_benn | last post by:
I need to create a report with information about active projects in my company. There are 4 categories of projects. About 80% of the info I need on my report is the same for all projects, 20%...
2
by: Astrat | last post by:
I am trying to hightlight multiple rows in a report design with specific data. For example, I want to hightlight weekends (i.e. Saturday, Sunday) in yellow. I can accomplish this with the...
5
by: jamesnkk | last post by:
Hi Could someone assist - When user preview the Report, he or she can right-click to change the report. how can I disable the Report Design option to prevent them from changing ? After closing...
9
by: fjm | last post by:
Hey everyone, I lost my internet connection for about 5 months and finally got it back. This is one of the first places I came back to. I have to say that I had a heck of a time finding it...
4
by: zufie | last post by:
I have a report that return all the records (materials ordered) by all callers each day. I want the report to just show all the records (materials ordered) by each individual caller each day on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.