DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   MS Access and FileMaker Pro (http://www.daniweb.com/forums/forum128.html)
-   -   Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS** (http://www.daniweb.com/forums/thread35626.html)

jayboi2005 Nov 19th, 2005 12:37 pm
Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
Hi i am creating a database im ok, just havent used it for years and years. I need a defult value which will add todays date. And a validation Rule that will prevent date entries prior to 1/1/2002

Can anyone please help me!! Thanks Jay

AND MY INPUT MASK IS SHORT DATE

Kegtapper Nov 24th, 2005 4:31 pm
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
Use [Now] as a default value

pker walker Jan 24th, 2006 6:17 pm
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
i also need the validation rule plz can some1 help?

Kegtapper Jan 24th, 2006 7:14 pm
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
Quote:

Originally Posted by pker walker
i also need the validation rule plz can some1 help?


Quote:

Originally Posted by pker walker
i also need the validation rule plz can some1 help?


Format mm/dd/yy
Default Value Date$()
Validation Rule =[Text8]>#12/31/01#

The validation rule is used under properties of the TEXT8.text
http://www.kegtapper.net/images/Validation.jpg

And that will produce this error
http://www.kegtapper.net/images/ErrorMsg.jpg

pker walker Jan 27th, 2006 12:43 pm
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
set default value as ="date"() if his doesnt work

also if he isnt american he wont want the date format u have specified in post above

Kegtapper Jan 27th, 2006 1:05 pm
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
his text "Hi i am creating a database im ok, just havent used it for years and years. I need a defult value which will add todays date. And a validation Rule that will prevent date entries prior to 1/1/2002"

Wanted American format

pker walker Jan 28th, 2006 6:24 am
Re: Any help with a Defult Value and Validation RULE. **MICROSOFT ACCESS**
 
Quote:

Originally Posted by Kegtapper
his text "Hi i am creating a database im ok, just havent used it for years and years. I need a defult value which will add todays date. And a validation Rule that will prevent date entries prior to 1/1/2002"

Wanted American format


1/1/2002 can also be uk :P lmao


All times are GMT -4. The time now is 9:15 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC