Computing.Net > Forums > Office Software > Access 97 weekday()

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Access 97 weekday()

Reply to Message Icon

Name: DAVID
Date: November 10, 2003 at 13:41:22 Pacific
OS: WIN98
CPU/Ram: PENTIUM 2 128
Comment:

I tried "Help" and looked in books, but couldn't find how to make a field of a form (and/or table) default to show the current day of the week (for example, "Thursday"). I'm not sure what field type it should be (date or text), and I tried "=Weekday(=DATE))", and variations, but none of them worked.



Sponsored Link
Ads by Google

Response Number 1
Name: Stuart
Date: November 10, 2003 at 18:15:25 Pacific
Reply:

Dont whether this will work in Access 97 but it does in Access XP. At least you can try it.

Open the form in Design View. Right click the date field. Click properties and the format Tab. In the format field enter dddd. This will give you the day in full. ddd will give you an abreviated day, Mon, Tues, Wed etc. dd with give you the date with leading zeroes and d by itself will give you the date withoutleading zeros.

The format you are using =Weekday(=date) is more remincent of Excell than Access.

Stuart



0

Response Number 2
Name: DAVID
Date: November 11, 2003 at 10:12:06 Pacific
Reply:

Stuart, thanks. It doesn't seem to work in 97. You only get "long form and short form, etc. not weekedays. However, as a rather non-elegant work-around, I seem to be able to get the desired end result as follows: In the data tab I can make the default to today's date with =DATE(), and in the format tab choose the "long form", which is "Tuesday, Novermber 11, 2003", and simply make the box on the form small so that only "Tue" is visible.


0

Response Number 3
Name: Stuart
Date: November 11, 2003 at 11:41:14 Pacific
Reply:

Are you not able to overtype in your own format overiding the default ones?

Seems such a basic thing it should be possible.

Stuart


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


The fix didn't work Speech Software



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Access 97 weekday()

Access 2000 from Access 97 www.computing.net/answers/office/access-2000-from-access-97/1835.html

Access 97 and 2000 www.computing.net/answers/office/access-97-and-2000/506.html

MS Access 97 SQL Minus Queries www.computing.net/answers/office/ms-access-97-sql-minus-queries/702.html