473,491 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Printing problem in MS access 2000 i.e. office XP MS Access

7 New Member
I have a access report with report footer, page footer etc. wherein calculated values are printed. My problem is when i open the report in acviewprview mode and print the report by using the print button or print menu command on the prview window all the values are recalculated and printed again, i.e. what i am viewing on the screen gets doubled when printed with clicking on the print button of the preview window which i do not want how to avoid this? Can anyone help me?
Nov 3 '09 #1
17 2474
NeoPa
32,556 Recognized Expert Moderator MVP
That depends on how you have calculated the values.

If you post what you have then we can give it some consideration for you. Make sure you are clear about which values show up incorrectly and which sections of the report they're in.
Nov 3 '09 #2
kspyathi
7 New Member
Dear NeoPa I have attached the entire mdb file in zip format, pls see the program click on reports click on preview and try to print through it, it prints the values doubled of what is being shown on screen. Let me know what mistake i have made and what can be the solution for it.
Attached Files
File Type: zip 2008-09 BUDGET PLAN.zip (648.7 KB, 93 views)
Nov 4 '09 #3
NeoPa
32,556 Recognized Expert Moderator MVP
The name of the report might help.

Is it "Annexure_3A_rep" by any chance (Just the one that's currently selected in the DB window)?
Nov 8 '09 #4
kspyathi
7 New Member
Dear NeoPa,
use the login name user and password user to login to the program click on report formats 1-7 slect budget year 2008-09 , head of account 2235-02-102-0-55 (P) type some xyxz characters in name of ofice field then click on the annexure-2 preview or any preview button, after the preview window opens try printing form there itself it prints double values. kindly let me konw the mistakes i have done. waiting for reply with regards
Nov 9 '09 #5
NeoPa
32,556 Recognized Expert Moderator MVP
Thank you. This seems to be what I need to start looking at this.

I will do so and report any findings.
Nov 9 '09 #6
NeoPa
32,556 Recognized Expert Moderator MVP
There seems to be some special font you are using that isn't available on my PC (at least not installed & I don't plan to install any more). I don't think this should cause a problem though, except that I thought the value you wanted me to look at would be obvious, yet either the problem doesn't occur for me, or I am looking in the wrong place. Hard to be sure when most of what you see I don't (loads and loads of very strange characters).

I do see a title clearly enough, below where it says Head of Account, 1, 2, 2a, 2b, 2c, 3a, etc, etc.
Where should I be looking for this value?
Nov 9 '09 #7
NeoPa
32,556 Recognized Expert Moderator MVP
Furthermore, I see when I look more closely at the design that it is expecting some much wider paper than my printer supports. I may be missing a lot of the detail of course, but that I can get around if you tell me which control on the report I should be focusing on.
Nov 9 '09 #8
kspyathi
7 New Member
Dear neopa,
the report has been set to fanfold 15 x 12 on dot matrix printer you can set it to legal page in landscape mode with left and righ margin set to 0.3 , the titles are not important , the total column i.e. the ninth column vertically and horizontally total row in annexure report 2 , if i click on the print button on the preview window the code is executed once again and the values get doubled for printing on lcicking the print button. let me know what mistake i have made
Nov 10 '09 #9
NeoPa
32,556 Recognized Expert Moderator MVP
For the benefit of anyone else trying to follow the thread and not wanting to dig this up for themselves, what Kspyathi meant to say was :
The control is a TextBox called Total_amt, and with a Control Source of Total_amt.
Nov 10 '09 #10
NeoPa
32,556 Recognized Expert Moderator MVP
Scratch that! What a waste of time. Why can you not take a minute of your time to help me help you, rather than leave me wasting tens of minutes just trying to work out what you want. I asked you where the field is and what it's called and you spent two seconds giving me something so useless I had to spend 1/4 of an hour working out what you meant. You saved yourself less than 1 minute - but wasted 15 of mine. Nice.

I'm still lost. The control I thought you were talking about is not going wrong. I look in the Page & Report footers (From your first post) and see only label controls.

If the next response I get is anything like any previous ones and gives me just a piece of the jigsaw puzzle again I will not respond further in this thread.
Nov 10 '09 #11
NeoPa
32,556 Recognized Expert Moderator MVP
I couldn't get it to do as you have said it does. It printed a value of 104,992 on the first line first time & every time.

However, I suspect that is because you have been giving me wrong information (quite irritating really) about what the problem is and where it can be found. I did notice what I think is your problem, but I couldn't find proof or test it properly because your information so far has just been a waste of my time frankly.

Anyway, you have code associated with the report which is keeping totals. Your problem is that you never reset the totals, but just keep adding the same set of values in over and over again. BTW redoing it in any form would give the same results. Going to Design mode then back into Preview mode would have the same effect.
Nov 10 '09 #12
kspyathi
7 New Member
Deae Neopa,
i am sorry my reply was out of bounds for you, and it wasted your time, i will be more specific while explaining, the problem is with the totals in the group footer 1, group footer 0 and report footer. As you have pointed out i am not resetting the values here because if i reset the totals they do not the reflect the actual value, if i do not reset the values the preview window shows the correct values , but if you use the print button on the preview window itself for printing the values in the footers change while being printed on the paper. for that i have circumvented by putting the print button along with the preveiw button in my program so the preview button is for pre viewing the data and the print button is for printing. but i do not want this to happen , as is the case with any program where we can print from the preview window itself what we are seeing without any changes, i would like to have the same feature in my program but unfortunately that is not possible because of my coding error or logic problem whatever. If you have any solution for this kindly let me know. I do hope this explanation is good enough for you otherwise what more explanation i need to give please let me know. may be this explanation might suffice you.
Nov 12 '09 #13
NeoPa
32,556 Recognized Expert Moderator MVP
You know, when I think about it, forget about the explanations. Just do the best you can and I'll try and work with it. I've had to learn how to express things more clearly, but I forget that not everyone has been as lucky as I in that respect. Just explain it the best way you can.

As for the problem :
I'm still struggling to understand as the copy of the database I have has no TextBoxes in those three sections, except one for the village name. Everything else is a Label control (or lines, or other irrelevant stuff). I see nothing in this copy that could have totals in it.

As for your question, I would look at resetting the values in a Report_Load() event procedure. It may also work from your Report_Open() event procedure, but you'd need to try this out to make sure.
Nov 12 '09 #14
kspyathi
7 New Member
Dear NeoPa,
i am using label controls to print the values i calculate in the code in the detail print event in the report code i execute, just to make sure they are not changed. Hence the label controls. the totals are calculated in the report code itself, because i could not do it in the sql statement i.e. annexure2 query which i use to fetch the records from the tables.
thats why i want to know how best it could be done. if you can find any solution pls let me know so tha my problem is solved
Nov 16 '09 #15
NeoPa
32,556 Recognized Expert Moderator MVP
You are using label controls to display your values. That is quite a clever concept, but not telling us about them while explaining the situation is not quite so clever. I had to ask myself "Would anyone be clever enough to use this concept, and also be unclever enough not to tell us about it?" I decided no. Clearly I was mistaken.

As for a solution, you may find one if you read through my previous post (#14). Look in the third paragraph.
Nov 16 '09 #16
kspyathi
7 New Member
dear NeoPa,
i am not able to properly format the query and also did not know what details to give, i.e. what is required or what is not required. Hence it has offended you. anyhow thank you for your time i have taken and for the solution, i am not able to try out your solution, once i have tried i will try to update on this forum. Thanks a lot.
with warm regards
Nov 18 '09 #17
NeoPa
32,556 Recognized Expert Moderator MVP
@kspyathi
That would be appreciated :)

I do hope it does work. To be honest I expected something similar to this (as the problem) from the outset, but I needed to check that I was thinking along the right lines. This proved difficult as communication was not smooth, but if it is the problem then that should certainly give you a workable solution. if not, then let us know and we can look again.
Nov 18 '09 #18

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

Similar topics

1
3514
by: Fred | last post by:
Hi. Is it safe to instll Access 2000 on a system that already has Windows XP and Office 2002 (Word, Excel Access, Powerpoint). Anyone done this? I would install it in a searate directory but...
4
2311
by: Dalan | last post by:
After reading and experiencing the phenomenon of installing MS Office 2000 on a system that already has MS Office 97, or for that matter just Access 97 Runtime, I saw the ugliness that ensues. If...
1
1360
by: Aliza Klein | last post by:
Hi. I have a client who has been running my Access 2000 system for a while now (about a year and a half) and is suddenly encountering lots of problems... as in misc. fatal errors that shut the...
16
48821
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
47
4480
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
0
2038
by: Lee Harris | last post by:
Hello, I have a client that has about 150 users on a intranet that I've created. The server is Windows 2000 with IIS 5.0 and has Office 2000 installed. The client came to me and asked if it was...
4
2016
by: RICHARD BROMBERG | last post by:
I am writing an application ising Access 2000. I bought a copy of Microsoft Office 2000 Developer Edition so I could compile a distribute an executable copy of my application. I also have MS...
1
2664
by: Wandering | last post by:
I know you guys are heavy duty coders, while I do ad-hoc analysis, and rarely write code. And, I may be in the wrong groups because this is about an install issue, and I don't think it's a code...
13
13229
yolenman
by: yolenman | last post by:
Hello - This is my first posting to this group, so please bear with me. Also note, that while I'm intelligent, databases are not in my field of knowledge. I'm working with a small limousine...
1
2571
by: David B | last post by:
Neighbour has got a new `puter which came with Office 2007 (without Access ) He needs Access to run an app for his business. He still has a copy of Office 2000 Pro. Are there any issues with...
0
6980
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.