-
WSaardvark
AskWoody LoungerIf the db is not too large, your user could e-mail it to me and I would run the program against the db. Save yourself/your user $45
-
WSaardvark
AskWoody LoungerThis product will work for Database Level passwords and for User-Level Passwords. If the password is in VBA, it will not work.
-
WSaardvark
AskWoody LoungerJudy: There is a product, Access Key 5.0.0. Try this link http://www.lostpassword.com/ I purchased it 2 months ago for $45.00 and has been a lifesaver for me. HTH.
-
WSaardvark
AskWoody LoungerK: Design your report and in design view, Click on File, Page Setup. Click on the Columns tab, select number of columns, then change column size (on portrait view, each column would be about 3-3.25″), then click down and across, click okay and save report. Also you can copy your headings so that you will have two sets (one set for each column). HTH.
-
WSaardvark
AskWoody LoungerHello: Maybe these will help:
You can use the following expressions in a report footer to count the occurrences of Yes, No, or Null in a field named YesNoField with a data type of Yes/No:
Expression Sums What
——————————————–
=Sum(IIF([YesNoField],1,0)) Yes
=Sum(IIF([YesNoField],0,1)) No
=Sum(IIF(Not[YesNoField],1,0)) No
=Sum(IIF(IsNull[YesNoField],1,0)) Null
You can also create a related expression to count a specific value in a field. For example, the following sample expression counts all occurrences of the value 3 in a field called MyField.
=Sum(IIF([MyField]=3,1,0))From the Microsoft Knowledge Base site, Keywords count yes/no
-
WSaardvark
AskWoody LoungerLinda: Try this for the year.
YearDate: DatePart(“yyyy”,[DateCompleted]).
HTH.
-
WSaardvark
AskWoody LoungerPaula: From Access 2000 help, keyword was specification – number of controls over the lifetime of a form or report is 754. If you have that many, WOW! 255 is the number of fields in a table or recordset. You may want to check these also.
-
WSaardvark
AskWoody LoungerSteve: Think of Many-to-Many relationships as two, one-to-many relationships. Then create forms and subforms to handle each, i.e., Main form # 1 would be based on Contacts table, subform would be based on a query of Address table and ContactsAddress table. Main form # 2 would be based on Address table and the subform would be based on a query of Contacts and ContactsAddress table. Check out the Student and Classes database wizard in Access 97 to see a good example of how this would work. HTH.
-
WSaardvark
AskWoody LoungerJohn: Here it is. Plus the TYPE definitions, etc. that go along with it. Good luck.
Option Compare Database
Option ExplicitPublic CurrentStreet
Public CurrentZip
Public CurrentAddressType str_DEVMODE
RGB As String * 94
End TypeType type_DEVMODE
strDeviceName As String * 16
intSpecVersion As Integer
intDriverVersion As Integer
intSize As Integer
intDriverExtra As Integer
lngFields As Long
intOrientation As Integer
intPaperSize As Integer
intPaperLength As Integer
intPaperWidth As Integer
intScale As Integer
intCopies As Integer
intDefaultSource As Integer
intPrintQuality As Integer
intColor As IntegerintDuplex As Integer
intResolution As Integer
intTTOption As Integer
intCollate As Integer
strFormName As String * 16
lngPad As Long
lngBits As Long
lngPW As Long
lngPH As Long
lngDFI As Long
lngDFr As Long
End TypeFunction SetReportSize(rptName As String, rptPaper As Integer, rptOrientation As Integer)
Dim DevString As str_DEVMODE
Dim DM As type_DEVMODE
Dim strDevModeExtra As String
Dim rpt As Report
Dim intResponse As Integer
‘ Opens report in Design view.
DoCmd.OpenReport rptName, acViewDesignSet rpt = Reports(rptName)
If Not IsNull(rpt.PrtDevMode) Then
strDevModeExtra = rpt.PrtDevMode ‘ Gets current DEVMODE structure.
DevString.RGB = strDevModeExtra
LSet DM = DevStringDM.intPaperSize = rptPaper ‘ 1-letter, 5-legal, 17- 11×17
DM.intOrientation = rptOrientation ‘1 – portrait, 2 – landscapeLSet DevString = DM
Mid(strDevModeExtra, 1, 94) = DevString.RGB
rpt.PrtDevMode = strDevModeExtra
DoCmd.SaveDoCmd.OpenReport rptName, acViewPreview
End If
End Function -
WSaardvark
AskWoody LoungerYes. Should have look a little harder. Thanks again.
-
WSaardvark
AskWoody LoungerJayden: Thanks much. I never even thought to check for a custom function.
-
WSaardvark
AskWoody LoungerCharlotte: I inherited a system with SetReportSize as a function/procedure in an OnClick event of a button. Code is as follows:
Private Sub cmd_all_Click
Dim rptName as String
Dim rptSize as Integer
Dim rptOrientation as IntegerrptName = “Parking Permit Report”
rptSize = 17 ‘1-letter, 5-legal, 17-11×17
rptOrientation = 2 ‘1-portrait,2-landscapeSetReportSize rptName, rptSize, rptOrientation
End SubWas wondering if there were any more arguments/parameters, such as setting margins, etc.
Thanks for responding.
-
WSaardvark
AskWoody LoungerCynthia: Try an Unmatched query on the two tables, the table of dates being table one, the table with names and dates being table two. The Unmatched query wizard will step you thru the process and have a nice weekend.
-
WSaardvark
AskWoody LoungerHere I go again, finding solutions to my own problems. I put the report in design view and under ‘Sorting and Grouping’ tool, I changed the ‘Keep Together’ property here from ‘No’ to ‘Whole Group’. Problem solved.
-
WSaardvark
AskWoody LoungerLet me re-phrase the problem. Is there a way to keep a header section and the corresponding detail section together if the data spans more than one page? Example: I have information about a street in a header, with detail information about the street in the detail section. The header sections breaks on [STREET1]
HEADER SECTION INCLUDES:
The parking regulations on the 203 foot long block face along the north side of [STREET1] from
[STREET2] extending to [STREET3] shall be:Range, Code, Regulation
DETAIL SECTION INCLUDES:
000 – 115 feet, 2105.17, No Stopping Anytime
115 – 203 feet, 2105.14, Bus Stop OnlyWould like to keep this all together if the detail goes to a different page. The detail section is variable, meaning the range could have many different regs applied.
Hope this clarifies.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
How well does your browser block trackers?
by
n0ads
3 hours, 27 minutes ago -
You can’t handle me
by
Susan Bradley
1 minute ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
2 hours, 1 minute ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
11 hours, 1 minute ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
11 hours, 13 minutes ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
11 hours, 25 minutes ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
11 hours, 30 minutes ago -
Lumma malware takedown
by
EyesOnWindows
1 hour, 6 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
20 hours, 18 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
20 hours, 12 minutes ago -
Meet Gemini in Chrome
by
Alex5723
1 day ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
1 day ago -
Trump signs Take It Down Act
by
Alex5723
1 day, 8 hours ago -
Do you have a maintenance window?
by
Susan Bradley
1 hour, 18 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
10 hours, 37 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
1 day, 11 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
36 minutes ago -
hibernate activation
by
e_belmont
1 day, 20 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
2 days ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
2 days, 3 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
2 days, 3 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
23 hours, 38 minutes ago -
Out of band for Windows 10
by
Susan Bradley
2 days, 8 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
2 days, 15 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 22 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
18 hours, 38 minutes ago -
Auto Time Zone Adjustment
by
wadeer
3 days, 3 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
3 days, 1 hour ago -
Manage your browsing experience with Edge
by
Mary Branscombe
54 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
3 hours, 8 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.