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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Connection with ASP & MS ACCESS

Status
Not open for further replies.

tyleri

Programmer
Jan 2, 2001
173
US
I am running my work on a Win2k server.
I am using MS Access as my database.

I have a date field, and it is formatted like this: 10/21/2002.

How can I make it say "MONDAY, October 21"? I want the user to be able to enter the date as 10/21/2002.

Can this be done in a query in my ASP form? If so, could you show me how!?

ALSO - what command would I use to select only the most recent 5 records ( i have an autonumber field in the database).

 
You can use the following query in MSAccess to format the date after they enter it.
SELECT Format([YourDateField],"dddd"", ""mmm d") AS NameForYourDateField
FROM tblDate;
The help files in Access list the symbols available to customize your date.
Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top