Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report not closing

Status
Not open for further replies.

robinsql

Programmer
Aug 2, 2002
236
IE
Hi all,

When I view my report in preview and then try to close it, it goes to the design view, instead of closing it completely. Same is happening when I try to close my preview window when I am viewing the report from my VB app. I need the report to close fully, not show the design view.

This is only happening since I added some code into the Detail_Format section.

Anyone able to tell me why?

Thanks for any help,
Robin
 
Hi

You say:

"This is only happening since I added some code into the Detail_Format section."

we cannot see the code, so cannot comment ! why not post the code ?

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Hi,
Here is the code...

If Not IsNull(Me!Time) Then
If Me!Time > #9:00:00 AM# Then
Me!txtTime.Visible = True
Else
Me!txtTime.Visible = False
End If
End If

I think the problem is that because I am making things visible and invisible, it is trying to prompt me to save changes and that is why it reverts to design view.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top