A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

null or y=yes



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2009, 02:57 PM posted to microsoft.public.access.gettingstarted
Rosie1956
external usenet poster
 
Posts: 1
Default null or y=yes

I need a field to be null or yes, and would like not to have to type in yes
but just the letter y. I never use access except for one document which never
changes. However we've gotten new equipment and the document disappeared.

I've tried: y=yes, but then it put no the the non-yes fields,

IS NULL OR Y=YES, did not work


  #2  
Old August 21st, 2009, 05:05 PM posted to microsoft.public.access.gettingstarted
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default null or y=yes

You'll need to use a one character long text field instead of a Yes/No boolen
field. Create a validation rule where only y or nulls are allowed. Of course
you'll then need to use something like an IIf statement to see Yes in forms
and reports.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Rosie1956" wrote:

I need a field to be null or yes, and would like not to have to type in yes
but just the letter y. I never use access except for one document which never
changes. However we've gotten new equipment and the document disappeared.

I've tried: y=yes, but then it put no the the non-yes fields,

IS NULL OR Y=YES, did not work


 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.