Re: ACCESS97 To ACCESS 2003 Conversion Issue
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Sat, 13 Jan 2007 10:00:47 +0900
Try this:
Function FixReports()
Dim accobj As AccessObject
Dim strDoc As String
For Each accobj In CurrentProject.AllReports
strDoc = accobj.Name
DoCmd.OpenReport strDoc, acViewDesign, WindowMode:=acHidden
With Reports(strDoc)
If .AutoResize Then
.AutoResize = False
Debug.Print strDoc
End If
Debug.Print .AutoResize
End With
DoCmd.Close acReport, strDoc, acSaveYes
Next
End Function
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"FrankieBotts" <FrankieBotts@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E09BBCB6-143A-414F-909F-07FB52809440@xxxxxxxxxxxxxxxx
I want to modify the "AutoResize" property in all of my Reports from 'Yes' to
"No". Is there a macro or code or even a 3rd party solution that someone can
provide me with. I need to do this, then save, compile the app and create an
mde.
Thanks in Advance
--
Frank G. Venditti
FGV Management Solutions
.
- Follow-Ups:
- Re: ACCESS97 To ACCESS 2003 Conversion Issue
- From: Dave Bolt
- Re: ACCESS97 To ACCESS 2003 Conversion Issue
- Prev by Date: Re: Printing "3-up" records on a preprinted form
- Next by Date: Re: Hiding a subform in Access 2002
- Previous by thread: Re: Printing "3-up" records on a preprinted form
- Next by thread: Re: ACCESS97 To ACCESS 2003 Conversion Issue
- Index(es):
Relevant Pages
|