Thanks for all the suggestions, the users force us to be creative...

Robert M. Castanaro 
Director, Surgical Services, Clinic and Pain Services 
Summa Health System Barberton Hospital 
155 Fifth Street N.E. 
Barberton, Ohio  44203 
Phone 330-615-3627 
[email protected] 



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Tuesday, June 02, 2009 4:34 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Checking for spaces in an eep

If you are using a form variable for your search box, you can use the  on
keypress eep to check if the character entered is a space.

On keypress eep sample:

If (SLOC(.vsearchvariable,' ')) <> 0 then
        pause 1 using 'You can not use more than one word...'
endif


Dan Goldberg
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Castanaro,
Bob
Sent: Tuesday, June 02, 2009 12:25 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Checking for spaces in an eep

List,
I have a database of information that has 6 keyword fields for lookup
purposes.  I wanted to limit the keyword to just that - one word.
Unfortunately the users seem to have an issue with this and many times put
in two words - thus rendering the keyword search and concept moot.
Is there an elegant way to check for a space and then return to the field in
an eep?  Is this better to check in rules???
Anybody have good ideas they are well appreciated...
Thanks

Robert M. Castanaro
Director, Surgical Services, Clinic and Pain Services Summa Health System
Barberton Hospital
155 Fifth Street N.E.
Barberton, Ohio  44203
Phone 330-615-3627
[email protected]
[cid:[email protected]]


Reply via email to