-
WSJenniferS
AskWoody LoungerOkay, here’s all the code that is showing. I don’t know much about Visual Basic.
Sub LastName_AfterUpdate()
‘ Find the record that matches the control.
Me.RecordsetClone.FindFirst “[StudID] = ‘” & Me![LastName] & “‘”
Me.Bookmark = Me.RecordsetClone.Bookmark
End SubSub Combo33_AfterUpdate()
‘ Find the record that matches the control.
Me.RecordsetClone.FindFirst “[StudID] = ‘” & Me![Combo33] & “‘”
Me.Bookmark = Me.RecordsetClone.Bookmark
End SubPrivate Sub Cmd_Print_Current_Rec_Click()
On Error GoTo Err_Cmd_Print_Current_Rec_ClickDim strDocName As String
Dim strFilter As StringDoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 ‘Save record
strDocName = “Invoice”
strFilter = “tbl_Invoices.InvID = Forms!frm_Student!InvID”DoCmd.OpenReport strDocName, acViewNormal, , strFilter
Exit_Cmd_Print_Current_Rec_Click:
Exit SubErr_Cmd_Print_Current_Rec_Click:
MsgBox Err.Description
Resume Exit_Cmd_Print_Current_Rec_ClickEnd Sub
I don’t know what the other two SUBs are, though ’cause like I said, I don’t know much of anything about VBA. I hope you can help.
Jennifer
-
WSJenniferS
AskWoody LoungerOkay, I tried it again, Rupert. I got it to print, but now it asks for a Parameter value. What is that? And it still prints all of my invoices. Aaaaarrrggghhh!!!
-
WSJenniferS
AskWoody LoungerThanks for the help again, Rupert. I put the code in, but now I can’t get it to print anything. What did I do wrong? Am I suppose to replace all of the code that is there with your code?
-
WSJenniferS
AskWoody LoungerWell, I tried it…and it didn’t work. You see I’m trying to incorporate 3 tables. I would like a screen where I can enter an invoice by first selecting the student that the invoice is for. That is where I can’t get the combo box to work–when I select a student. I have an invoice table that I want to get the invoice number from and then a fee table where I get the fee details for the invoice.
Am I combining them incorrectly. I used a query that brought them all together. Or should I select from all 3 tables when I do the auto form?
-
WSJenniferS
AskWoody LoungerOkay, I’ll give it a try on Tuesday when I get back to work. Thanks, Rupert. I’ll let you know what happens.
Jennifer
-
WSJenniferS
AskWoody LoungerIt just comes up with the box that says “How do you want the combo box to get its values?”. It lists only two choices, not three.
-
WSJenniferS
AskWoody LoungerI’ve got the wizard pressed.
![]() |
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
-
Thunderbird release notes for 128 esr have disappeared
by
EricB
24 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
52 minutes ago -
Apple releases 18.5
by
Susan Bradley
1 hour, 11 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 hours, 18 minutes ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 hours, 56 minutes ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
9 hours, 52 minutes ago -
No HP software folders
by
fpefpe
10 hours, 37 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
2 hours, 49 minutes ago -
Stay connected anywhere
by
Peter Deegan
16 hours ago -
Copilot, under the table
by
Will Fastie
7 hours, 13 minutes ago -
The Windows experience
by
Will Fastie
22 hours, 14 minutes ago -
A tale of two operating systems
by
Susan Bradley
13 hours, 10 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day, 3 hours ago -
Where’s the cache today?
by
Up2you2
1 day, 18 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 11 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
11 hours, 59 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 19 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 12 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 12 hours ago -
regarding april update and may update
by
heybengbeng
2 days, 13 hours ago -
MS Passkey
by
pmruzicka
1 day, 15 hours ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 21 hours ago -
*Some settings are managed by your organization
by
rlowe44
2 days, 8 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 20 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 16 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
4 days, 1 hour ago -
AI slop
by
Susan Bradley
1 day, 18 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
4 days, 2 hours ago -
Two blank icons
by
CR2
1 day, 10 hours ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 12 hours 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.