|
-
Jun 19th, 2006, 01:07 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] dyaofweek function vba
Hey,
I'm running Access 2003 and for some reason the DayOfWeek function isn't working. If I type it in the immediate window, it returns nothing.
Has something changed?
Thanks,
Last edited by Hack; Jun 19th, 2006 at 01:49 PM.
Reason: Added [RESOLVED] to thread title and green "resolved" checkmark
Don't anthropomorphize computers -- they hate it
-
Jun 19th, 2006, 01:14 PM
#2
Re: dyaofweek function vba
-
Jun 19th, 2006, 01:14 PM
#3
Thread Starter
Frenzied Member
Re: dyaofweek function vba
dim i as integer
i = dayofweek
Don't anthropomorphize computers -- they hate it
-
Jun 19th, 2006, 01:15 PM
#4
Re: dyaofweek function vba
are u trying to get the number of the day?
WeekDay()
or the name of the day?
Format(Date,"dddd")
dont recall there ever being a DayOfWeek Function?
EDIT: took too long to post.. u need the WeekDay() Funtion
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 19th, 2006, 01:15 PM
#5
Re: dyaofweek function vba
Are you using it with the monthView control? If you are is it loaded on a form before calling it?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 19th, 2006, 01:15 PM
#6
Thread Starter
Frenzied Member
Re: dyaofweek function vba
he he, never mind then. I got mixed up with vb.
Thanks dude,
Don't anthropomorphize computers -- they hate it
-
Jun 19th, 2006, 01:17 PM
#7
Re: dyaofweek function vba
just an FYI: VB doesnt have a DayOfWeek Function either..
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 19th, 2006, 01:19 PM
#8
Thread Starter
Frenzied Member
Re: dyaofweek function vba
yeah, I just realized that too. dayofweek are constants. hehe, not my day today. he he
Don't anthropomorphize computers -- they hate it
-
Jun 19th, 2006, 01:21 PM
#9
Re: dyaofweek function vba
 Originally Posted by vbgladiator
yeah, I just realized that too. dayofweek are constants. hehe, not my day today. he he
You and me both...I didn't even realize this was VBA question until DayOfWeek blew up on me as an unrecognized function.
-
Jun 19th, 2006, 01:28 PM
#10
Re: dyaofweek function vba
WAKE UP!!!
grab some more coffee man lol
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 19th, 2006, 01:29 PM
#11
Re: dyaofweek function vba
I think I was the only one that read the thread
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 19th, 2006, 01:31 PM
#12
Re: dyaofweek function vba
-
Jun 19th, 2006, 01:33 PM
#13
Re: dyaofweek function vba
Especially since its Resolved
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|