Sabtu, 31 Desember 2016

Re: [MS_AccessPros] Input Mask

 

SortOrder might be a reserved word. Some interfaces will always require the brackets and might default to placing quotes around the names. 



From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of david.pratt@outlook.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Saturday, December 31, 2016 3:46:23 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Input Mask
 


There are no spaces.  The field name is SortOrder.
Perhaps I had inadvertently done something else wrong, but there were no spaces.


---In MS_Access_Professionals@yahoogroups.com, <duanehookom@...> wrote :

That's  just one of the reasons why most of us veteran developers don't use spaces in field names or use reserved words.


Duane




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of david.pratt@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Saturday, December 31, 2016 11:23 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Input Mask
 


Thanks,
I had tried that but did not include the brackets around the field name.  It works now.



---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :

David-

Validation Rule:  Left([myfield], 1) IN ("B", "C", "E", "W", "X")

Validation Text: The first character must be B, C, E, W, or X.

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
http://www.viescas.com/
www.viescas.com
Welcome to the home of John Viescas Consulting. If you’re at all interested in Microsoft Access or SQL Server, this is the place to be! Check out the book ...

 
(Paris, France)




On Dec 31, 2016, at 6:02 PM, david.pratt@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



I have an input mask, L000.  I want to have a validation rule that specifies that the Letter must be either B, C, E, W or X.  How can I put that in the validation rule?









__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar