-
WSgaryfei
AskWoody LoungerThnaks, Hans.
-
WSgaryfei
AskWoody LoungerYou can use custom functions in queries too.
Can you provide more details of how to use this custom functions in my queries?
Thanks
-
WSgaryfei
AskWoody LoungerCombo box? I didn’t see any combo box in your database…
Sorry, Hans. I am confused. I thought I only can use this codes in the combo box. Can I put the codes on the query that I built? Or is the best way to put it in a new comob box?
Thanks.
-
WSgaryfei
AskWoody LoungerYou’ll find a custom VBA function to retrieve the week of the month in [post=”340905″]Post 340905[/post].
Thanks, Hans.
Which Combo Box event that I should input the codes below:
Public Function GetWeekInterval(dtDate As Date) As String
Dim intWeeks As Integer
intWeeks = GetWeekDaysInMonth(dtDate)Select Case GetWeekOfMonth(dtDate)
Case 1
GetWeekInterval = “First”
Case 2
GetWeekInterval = “Second”
Case 3
GetWeekInterval = “Third”
Case 4
GetWeekInterval = IIf(intWeeks = 4, “Last”, “Fourth”)
Case 5
GetWeekInterval = IIf(intWeeks = 5, “Last”, “Fifth”)
End SelectEnd Function
Thanks.
-
WSgaryfei
AskWoody LoungerThanks, Hans.
But I never use the Access interface, can you provide more detail of how to open and edit it? Do I open the table in view?
Thanks again.
Regards,
-
WSgaryfei
AskWoody LoungerSo do I have to use update query and select all 35 fields to update it?
Is there any better way to replace those value on all of 35 fields?
Thanks,
-
WSgaryfei
AskWoody LoungerHi,
That’s requirement of another system import specs. I will export it to txt file.
Yes, they all are in the same table.
Thanks,
-
WSgaryfei
AskWoody LoungerThank you, Hans.
-
WSgaryfei
AskWoody LoungerThanks, Hans.
The age in years is working, but not age in days. What should I put in Age in days field in a query? If the age in years is great than 1, then the age in days field is blank. If the age in years is less than 1, then the age in days field will show the days between Bdate and DateToday.
Thanks again.
Regards,
-
WSgaryfei
AskWoody LoungerJanuary 23, 2009 at 3:53 pm in reply to: importing txt – the search key was not found’error (2003) #1143647Thanks, Hans.
-
WSgaryfei
AskWoody LoungerJanuary 16, 2009 at 7:33 pm in reply to: importing txt – the search key was not found’error (2003) #1142243Thanks, Hans.
But there’s no column name in my txt file. I don’t think there’s any duplicate fields name in the Import sepc since the Access will stop you if you have any duplicate fields.
The contents of the text file should be valid since I can import it with default delimite.
Any other ideas?
Thanks,
-
WSgaryfei
AskWoody LoungerHi Hans,
How about if there’s some data in “OldField?” How can I add condition to this calculated field to convert those blank data to “00?”
Thanks,
Regards,
-
WSgaryfei
AskWoody LoungerNovember 17, 2008 at 8:48 am in reply to: Font changes when receiver reply the email (2003) #1133193They all see Red and using the Outlook’s native HTML.
-
WSgaryfei
AskWoody LoungerNovember 17, 2008 at 4:17 am in reply to: Font changes when receiver reply the email (2003) #1133139Thanks, Hans.
But all the recievers have the same problem. I have tested with different email accounts.
Regards,
-
WSgaryfei
AskWoody LoungerThanks, Hans.
![]() |
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
-
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
1 hour, 32 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
7 hours, 33 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
17 hours, 53 minutes ago -
Office apps read-only for family members
by
b
20 hours, 29 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
17 hours, 21 minutes ago -
24H2??
by
CWBillow
7 hours, 32 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
1 hour, 47 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
2 hours ago -
TotalAV safety warning popup
by
Theodore Nicholson
55 minutes ago -
two pages side by side land scape
by
marc
2 days, 18 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 20 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 23 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 2 hours ago -
April 2025 updates out
by
Susan Bradley
2 hours, 11 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 19 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 9 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 11 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 15 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 18 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 20 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 18 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 12 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 18 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
4 days ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
14 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 8 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 16 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 16 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
5 days, 1 hour 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.