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()
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.
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?
Summary: I'm having problems converting my Access 97 programs to Access 2000. String functions such as right(), date(), and chr(13)& chr(10)used in queries won't convert. I get a message undefined function. ...
Summary: Hello, Is it posible to install both access 97 and 2000 on the same computer. If so, is there any special configuration in order to make it properly? Thank you. ...
Summary: I'm trying to do a minus / except query in MS Access 97 using SQL commands. Here's the SQL code: (SELECT DISTINCT * FROM table1) MINUS (SELECT DISTINCT table1.* FROM table1, table2 WHERE table1.col1 =...