SQL expressions in MS Access: What do they mean ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can any experts tell me what these expressions mean and HOW to use them ?

CDate («date»)
«Expr» CVDate («expr»)
«Expr» Date ()
«Expr» Date$ ()
«Expr» DateAdd («interval», «number», «date»)
«Expr» DateDiff («interval», «date1», «date2», «firstweekday», «firstweek»)
«Expr» DatePart («interval», «date», «firstweekday», «firstweek»)
«Expr» DateSerial («year», «month», «day»)
«Expr» DateValue («stringexpr»)
«Expr» Day («number»)
«Expr» Hour («number»)
«Expr» IsDate («varexpr»)
«Expr» Minute («number»)
«Expr» Month («number»)
«Expr» MonthName («month», «abbreviate»)
«Expr» Now ()
«Expr» Second («number»)
«Expr» Time ()
«Expr» Time$ ()
«Expr» Timer ()
«Expr» TimeSerial («hour», «minute», «second»)
«Expr» TimeValue («stringexpr»)
«Expr» Weekday («number»)
«Expr» WeekdayName («weekday», «abbreviate», «firstweekday»)
«Expr» Year («number»)
 
help in Access tell me funny things!!! that's why i'm asking experts' help!!

anyone, please ?!!!
 
They are all available in the VBA help for Access.

Switch to the VBA window and press F1.

Just for starters
CDate converts a string that is a valid date to a variable of type date. It
also converts a number to datetime by adding the number to Dec 30, 1899
Date() is a function that returns the current system date or allows you to
set the current system date
Date$ returns the current system date as a string.

All that is in the help

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Ok,
in addition to Johns reply (in case you don't know) press Alt-F11 to get to
the VBA-editor - choose help.

hth
 
Back
Top