Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / April 2005

Tip: Looking for answers? Try searching our database.

default value+now() in table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ms. M.Thipparat - 19 Apr 2005 07:55 GMT
I can't set default value now() in Ms. Access table.  It's always alert "
compile error in table-level validation expression"

How should I do to solve this problem.

Thank you in advance.
Allen Browne - 19 Apr 2005 12:51 GMT
Try setting the Default Value of the date/time field in your table to:
   =Now()

If you just want the date, without the time of day as well, use:
   =Date()

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I can't set default value now() in Ms. Access table.  It's always alert "
> compile error in table-level validation expression"
>
> How should I do to solve this problem.
>
> Thank you in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.