Pattern Help

Pickering, John (NORBORD) PICKERIJ@norbord.com
Thu, 29 Nov 2001 14:04:29 -0500


How about "\(M|C||^)#####" 

Yours will allow 6 digits

> -----Original Message-----
> From:	Richard Sheehan [SMTP:sheerich@isu.edu]
> Sent:	Thursday, November 29, 2001 2:00 PM
> To:	Sarah Moore; powerh-l@lists.swau.edu
> Subject:	Re: Pattern Help
> 
> Sorry,
> 
> I think that would actually be "\(M|C)#####"
> 
> Richard Sheehan wrote:
> > 
> > Sara,
> >   Have you tried specifying the pattern with an or in it?
> > "(\M|\C)#####"
> > 
> > Sarah Moore wrote:
> > >
> > > We are using Powerhouse 6.20 on OpenVMS.
> > >
> > > We had this original pattern on a field in QUICK "^#####"
> > >
> > > We want to restrict it to not let the Alpha be equal to M or C. We
> tried a lot
> > > of different combinations and found this one. "\M#####" which
> restricted
> > > the M but allows the user to enter 6 digits. Also, we were not able to
> > > restrict the C.
> > >
> > > Thanks in advance
> > >
> > > Sarah Moore
> > > Co-op Atlantic
> > > Moncton, NB
> > >
> > > = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> > > Mailing list: powerh-l@lists.swau.edu
> > > Subscribe: "subscribe" in message body to
> powerh-l-request@lists.swau.edu
> > > Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
> > > http://lists.swau.edu/mailman/listinfo/powerh-l
> > > This list is closed, thus to post to the list you must be a
> subscriber.
> > 
> > --
> > Richard Sheehan,
> > Administrative Systems - IT Programmer Analyst
> > Idaho State University Computing & Communications
> > Campus Box 8037, Pocatello, ID 83209-8037
> > Phone: 208.282.3861 - Fax: 208.282.3673
> > Email: sheerich@isu.edu
> 
> -- 
> Richard Sheehan,
> Administrative Systems - IT Programmer Analyst
> Idaho State University Computing & Communications
> Campus Box 8037, Pocatello, ID 83209-8037
> Phone: 208.282.3861 - Fax: 208.282.3673
> Email: sheerich@isu.edu
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.