Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 12th, 2004, 06:52 AM
Mairi Mairi is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 Mairi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb Validation Rules - Access

Help!

I want to create a validation rule in a table to ensure that the ProductName filed is not left blank. Any suggestions?

Thank You

Mairi

Reply With Quote
  #2  
Old March 12th, 2004, 10:05 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
You can put Field validation rule as

Is Not Null
__________________
V.Subramanian

Reply With Quote
  #3  
Old March 12th, 2004, 11:48 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
In addition to validation rules you can change the properties of field in your table to force anykind of entry

Required = Yes

S-

Reply With Quote
  #4  
Old March 12th, 2004, 08:10 PM
xtrapont xtrapont is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 7 xtrapont User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can see in Table / Design View under the General Tab a Validation Rule box for entering into.

I can't see any box for Properties there.

I notice in Datasheet View the last row [with * at beginning] seems to contain some field relevant dat [e.g I see "(AutoNumber)" there in the column representing the fields of a datatype Autonumber I have in my table.

Is that where you would type "Required = Yes"?

Reply With Quote
  #5  
Old March 12th, 2004, 09:10 PM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
In Table / Design View under the General Tab just below Validation rule
Validation text is there where you can enter message tobe displayed for invalid data and below that
lies Required where in you can place either Yes or No.

[QUOTE=xtrapont]I can see in Table / Design View under the General Tab a Validation Rule box for entering into.

Reply With Quote
  #6  
Old March 15th, 2004, 12:51 PM
Mairi Mairi is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 Mairi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks!

Thank you very much for your help - its easy when you know how

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Validation Rules - Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT