Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query string to get MTD - Tonth To Date

Status
Not open for further replies.

AT76

Technical User
Apr 14, 2005
460
US
Hello,

Is there a way to set a parameter in a column with dates to get only the Month to Date records?

Thanks!
 
One way:
Code:
Between (Date()-Day(Date())+1) And (Date())

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Very cool. Is there a way to use function date() in a pass-thru querie?
 
use function date() in a pass-thru querie
Use the native RDBMS syntax ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top