-
WSgaryfei
AskWoody LoungerThanks
-
WSgaryfei
AskWoody LoungerThank.
I have more than one ceriteria, so how should I put together by DCount?
Should I put the code on “Search” button?
Thanks
-
WSgaryfei
AskWoody LoungerThanks
-
WSgaryfei
AskWoody LoungerIs anyway to do without using Access User Security?
Thanks
-
WSgaryfei
AskWoody LoungerThanks! It works. …
-
WSgaryfei
AskWoody LoungerThank you so much much. It works.
But I still have question regarding the report name.
The report is open as preview after I send the email, how can report close after send the email?
Regards
-
WSgaryfei
AskWoody LoungerBut the report still open as preview after I send the email, how can report close after send the email.
Regards
-
WSgaryfei
AskWoody LoungerThank you so much. It works.
But I have another question regarding email body. I want three senentes and my contact information in the body with nice format as outlook. How can I do it? I know I have to use string, but I don’t what I should put in the “strMBody” to get what I want. Please see the following code:
Dim strMsgBody As String
strMBody =DoCmd.SendObject acSendReport, , acFormatSNP, “”, , , “Test e-mail”, strMBody, False
-
WSgaryfei
AskWoody LoungerIf my report name is “Search Result Report,” what I should put for the space in the following code:
Reports!rptSomething.Caption
I putted “Reports!Search_Result_Report.Caption,” message pops up report is not exit. So what should I put for space????
Thanks
Regards
-
WSgaryfei
AskWoody LoungerI use VBA code.
Thanks
-
WSgaryfei
AskWoody LoungerI did check the spelling, everything is correct. On the below code, the second line is highlight with yellow:
Private Sub Search_Click()
If Forms![frmResult].Form.RecordsetClone.RecordCount = 0 Then
MsgBox “There is no data for this searching. Canceling …”Else
DoCmd.OpenForm “frmResult”End If
End Sub
Regards
-
WSgaryfei
AskWoody LoungerThanks. But I would like to confirm that I really do the correct. Should the query looks like the following:
Thanks
-
WSgaryfei
AskWoody LoungerThank you so much.
I am able to dispear subform when I click “clear” button. But subform is appear when I open the form, how can I solve it? Also even subform disappear but the space still stay. Is any way to disapper the extra space at the same time?
Thanks.
Regards
-
WSgaryfei
AskWoody Loungerhi,
I really can’t find the “visible property” of the subform? Can you tell me more detail about it?
Please see below screen shot:
Thanks
-
WSgaryfei
AskWoody LoungerThanks.
What’s “sbfSomething?” Should I keep “sbf” or replace my form with everything? Below is my corrent code:
Private Sub Clear_Click()
Me.txtSearch = Null
Me.sbfSomething.Visible = FalseEnd Sub
Private Sub Search_Click()
If IsNull(Me.MRN) Then
MsgBox “Please enter something to search for.”, vbExclamation
Me.MRN.SetFocus
Else
Me.Search.Form.Requery
Me.Search.Visible = True
End IfEnd Sub
Please help me state out errors, thanks!
Regards!
![]() |
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
-
Seeing BSOD’s on 24H2?
by
Susan Bradley
27 minutes ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
3 hours, 53 minutes ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
6 hours, 17 minutes ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
9 hours, 7 minutes ago -
0patch
by
WSjcgc50
5 hours, 35 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
2 hours, 29 minutes ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
12 hours, 6 minutes ago -
Problem opening image attachments
by
RobertG
13 hours, 41 minutes ago -
advice for setting up a new windows computer
by
routtco1001
1 day, 4 hours ago -
It’s Identity Theft Day!
by
Susan Bradley
8 hours, 43 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
1 day, 9 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
1 day, 9 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
1 day, 9 hours ago -
Firefox became sluggish
by
Rick Corbett
1 day, 6 hours ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 day, 13 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
1 day, 14 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
11 hours, 33 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
6 hours, 7 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
12 hours, 14 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
13 hours, 26 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
2 days, 5 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
1 day, 9 hours ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
1 day, 18 hours ago -
23 and you
by
Max Stul Oppenheimer
2 days, 2 hours ago -
April’s deluge of patches
by
Susan Bradley
5 hours, 59 minutes ago -
Windows 11 Windows Updater question
by
Tex265
6 hours, 20 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
3 days, 10 hours ago -
Registry Patches for Windows 10
by
Drcard:))
3 days, 15 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
2 days, 22 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
2 days, 7 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.