|
Rob:
Okay, so you apparently want blanks to be allowed at the same time you want
characters greater than or equal to 'A' to be allowed. I'm not yet sure if you
only want alphabetic characters, but it seems reasonable. The problem is that
you can only specify one COMP keyword for a field. Therefore, you can't have
COMP EQ ' ' and COMP GE 'A' at the same time.
One way is not to use COMP at all. Instead, use VALUES().
A VALUES(' ' 'A' 'B' 'C' 'D'...)
Just specify the exact list of values that you want.
Or, if you specify a keyboard shift of 'X', you can get close; but you'll also
be allowing comma (,), period (.) and dash (-).
However, I'd say to leave the test out of the DDS and just check in your
program.
Tom Liotta
rpg400-l-request@xxxxxxxxxxxx wrote:
> 6. RE: Is this the University of Midrange.com? (was Re: Comp in
> DDS) (simafrog)
>
>I wanted to code against a blank, but when a blank is entered, you get the
>Comp GE A message. It may seem extremely trivial I agree. But my leader
>questions every I mean every 'extra' line of code as if it were coming out
>their personal pocket.
>
>> -----Original Message-----
>> >If you try to do COMP GT 'A' in DDS and then try to enter a blank you will
>> get the message that the 'Value must be greater than A'.
--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone 253-872-7788 x313
Fax 253-872-7904
http://www.powertech.com
__________________________________________________________________
Introducing the New Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.