-
WSZAve
AskWoody LoungerYou are correct, but there are some other things being done when they are entered into the class which is why I did it this way, I might have to change it to main subform, depending which issue is more significant to the person doing data entry.
Thanks -
WSZAve
AskWoody LoungerIt is pretty primitive but t works.
On Error GoTo Err_Command2_Click
Dim stDocName As String
Dim x As Integer
x = 1
stDocName = “repStudentInfo”
DoCmd.OpenReport stDocName, acPreview
Do Until x = 20
DoCmd.PrintOut acPages, x, x
x = x + 1
Loop
Exit_Command2_Click:
Exit SubErr_Command2_Click:
MsgBox Err.Description
Resume Exit_Command2_Click -
WSZAve
AskWoody LoungerThe form opens in data entry so it does not show the existing records. When I enter a student in the form, the after update code pulls the class from the unbound combo box and enters the class in the underlying table. I want to get to a data entry form each time I choose a different class in the unbound combo box
-
WSZAve
AskWoody LoungerI have two databases with large amounts of pictures one in 2003 and one in 2007. The one in 2007 works perfectly fine. The 2003 one I had the same problem as you, so I set the printout of the report to print in sequence each page, opening and closing the report between each page and that solved the problem.
-
WSZAve
AskWoody Loungerthanks. Will try to figure out whay that is true when I can think
-
WSZAve
AskWoody LoungerSorry her it is as an mdb
-
WSZAve
AskWoody LoungerI had tried that and I get no records even though the two parts of the query work. Still no records. attached is the back end zipped if that helps
Thanks -
WSZAve
AskWoody LoungerI had tried that and it would not work. I get an error 2448 “you cannot assign a value to this object”. The error is on “rpt.Recordset = rst”
What am I missing?
This is the code I wrote:
Private Sub Command35_Click()
Dim rst As Recordset
Dim rpt As Report
Set rst = Me.RecordsetClone
DoCmd.OpenReport “report1”, acViewDesign
Set rpt = Screen.ActiveReport
rpt.Recordset = rst
DoCmd.OpenReport “report1”, acViewPreview
End Sub -
WSZAve
AskWoody LoungerIf the form is still open, is there a way to save the recordset of that moment into a variable that could serve as the recordset of a report that I would open in design view from a command button on the form, before I close the form?
-
WSZAve
AskWoody LoungerThanks. I know I can use that, but it is a form that is data entry and then I want to print a report of just the records entered at that session. So it is not a matter of filtering, but choosing somehow those records that were now entered. I could keep a list of the recordID as they are entered and then filter the report on those ID #’s but that seems a bit of a kludge unless there is no other way.
If you have any other ideas, I would be grateful (and not dead)
-
WSZAve
AskWoody LoungerI’ve been through them andwas hoping someone had made life easier for me. Guess I will jut have to work hard
-
WSZAve
AskWoody LoungerAs far as I can see-the really hard work- writing code or macros for custom buttons it does not do. All it does is allow you to move around the existing MS buttons and even create new groups but only based on those.
-
WSZAve
AskWoody LoungerThanks to both of you
-
WSZAve
AskWoody LoungerThanks. I tried all the options aside from changing to BMP on the fly since I was not sure how he was doing it, but none helped. I think I will just use irfanview to knock down the images to a managable size and then it works.
Thanks -
WSZAve
AskWoody LoungerI tried an expirement and used smaller images and it worked fine. Does anyone know the formula for how many images multiplie by what size goes overboard? Does it depend on my RAM nd computer?
Thanks
![]() |
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
-
Formatting of “Forward”ed e-mails
by
Scott Mills
43 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 hour, 7 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
10 hours, 8 minutes ago -
AI slop
by
Susan Bradley
9 hours, 18 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
11 hours, 24 minutes ago -
Two blank icons
by
CR2
17 hours, 54 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
20 hours, 18 minutes ago -
End of 10
by
Alex5723
22 hours, 59 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
23 hours, 28 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
19 hours, 57 minutes ago -
test post
by
gtd12345
1 day, 4 hours ago -
Privacy and the Real ID
by
Susan Bradley
19 hours, 7 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
11 hours, 13 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 9 hours ago -
Upgrading from Win 10
by
WSjcgc50
10 hours, 43 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
37 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 1 hour ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 12 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 2 hours ago -
Are manuals extinct?
by
Susan Bradley
14 hours, 27 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 12 hours ago -
Network Issue
by
Casey H
1 day, 23 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days ago -
May 2025 Office non-Security updates
by
PKCano
3 days ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 2 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 3 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 4 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 12 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
3 hours, 56 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.