473,396 Members | 1,779 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,396 software developers and data experts.

Freezing printing report

Allo all,

We just upgraded from A97 to A2007 SP1 and we've got a problem that I
cannot solve. When someone wants to print a repport, a form F is shown
for him to choose the printer. Then he prints it. Everything works
fine with all ours repports but one. With this one, when the user try
to print it, the report open behind F (form F is modal) and that's
it!

Some interesting points:
- In that freezed state all F buttons are clickable but nothing
happen. Ex: you can click the "Close" button but the form won't close.
- This problem is not happening on all station (all the same OS
version). But the ones that work, always work, and the ones that
don't, always freeze.
- For the working stations, the report is also display behind F but
only briefly.

When the user clicks on "Print" the program reach this place:
--------------------------------------------------------------------------------------------------------------------
DoCmd.OpenReport Me.ToPrint, acViewNormal, , Me.MyFilter
Set obj = Reports(Me.ToPrint)
obj.visible = False
--------------------------------------------------------------------------------------------------------------------

For the not-working stations, the execution never exit the "DoCmd"
line and then never reach the "Set obj" one.

Anybody could give me some hint/suggestion to solve this problem? At
what should I look?

Thanks for your time.

Yannick
Apr 10 '08 #1
1 1920
On Thu, 10 Apr 2008 08:57:30 -0700 (PDT), Yannick Turgeon
<ve********@gmail.comwrote:

Kudos for this very good bug report.
It might be a timing issue.
Those last two lines are very unusual. Comment them out and see how
you fare.

-Tom.
>Allo all,

We just upgraded from A97 to A2007 SP1 and we've got a problem that I
cannot solve. When someone wants to print a repport, a form F is shown
for him to choose the printer. Then he prints it. Everything works
fine with all ours repports but one. With this one, when the user try
to print it, the report open behind F (form F is modal) and that's
it!

Some interesting points:
- In that freezed state all F buttons are clickable but nothing
happen. Ex: you can click the "Close" button but the form won't close.
- This problem is not happening on all station (all the same OS
version). But the ones that work, always work, and the ones that
don't, always freeze.
- For the working stations, the report is also display behind F but
only briefly.

When the user clicks on "Print" the program reach this place:
--------------------------------------------------------------------------------------------------------------------
DoCmd.OpenReport Me.ToPrint, acViewNormal, , Me.MyFilter
Set obj = Reports(Me.ToPrint)
obj.visible = False
--------------------------------------------------------------------------------------------------------------------

For the not-working stations, the execution never exit the "DoCmd"
line and then never reach the "Set obj" one.

Anybody could give me some hint/suggestion to solve this problem? At
what should I look?

Thanks for your time.

Yannick
Apr 11 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DCraig | last post by:
I'm having problems printing to a line printer from both Crystal Reports and SQL Server reporting services using dotnet. When I try and print a report from an application with Crystal I get the...
6
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if...
6
by: Ron | last post by:
Hi, I know Access allows for easy construction of a report setup to print labels from a table/query, etc. I've done that one. It works pretty well for what I need. However, is there an...
0
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
0
by: Deceneu | last post by:
Hi everyone, this is my first post so please bear with me. I have the following situation: i have a local report that needs to have two "versions": one for viewing in the report viewer (with all...
1
by: Glenn | last post by:
I am writing a program for field work that will use a receipt printer. I need to be able to adjust the page settings prior to printing depending on how much needs to be printed. I have been able...
0
it0ny
by: it0ny | last post by:
Hi guys, thanks I am fairly new to this forum so I hope I chose the right place to post this question. I try to make my program printout a deposit's report. I created a class to store the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.