Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

string edit mask

2 posts in DataWindow Last posting was on 2009-12-23 16:39:55.0Z
Trini Posted on 2009-12-23 13:17:45.0Z
Sender: 3731.4b321857.1804289383@sybase.com
From: Trini
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: string edit mask
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b321878.3734.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 23 Dec 2009 05:17:45 -0800
X-Trace: forums-1-dub 1261574265 10.22.241.41 (23 Dec 2009 05:17:45 -0800)
X-Original-Trace: 23 Dec 2009 05:17:45 -0800, 10.22.241.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90483
Article PK: 410089

We have a state abbrieviation column for querying. We would
like users to only enter 2 letters in this column. Which
edit mask do we use ? !! does not work since it allows
numeric.


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-12-23 16:39:55.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4b321878.3734.1681692777@sybase.com>
Subject: Re: string edit mask
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b3247db$1@forums-1-dub>
Date: 23 Dec 2009 08:39:55 -0800
X-Trace: forums-1-dub 1261586395 10.22.241.152 (23 Dec 2009 08:39:55 -0800)
X-Original-Trace: 23 Dec 2009 08:39:55 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90484
Article PK: 410088

That would be the first application I've seen that doesn't use a DDLB for
state! Create a named edit style so you can apply it easily. If you really
want them to enter it and get feedback on each keystroke, use the
EditChanged event and Match for [A_Z].

--
Report Bugs to Sybase: http://case-express.sybase.com/cx/welcome.do
Product Enhancement Requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

<Trini> wrote in message news:4b321878.3734.1681692777@sybase.com...
> We have a state abbrieviation column for querying. We would
> like users to only enter 2 letters in this column. Which
> edit mask do we use ? !! does not work since it allows
> numeric.