[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Data evaluation as entered in window (AREV Specific) ====
=== At 01 JUN 2000 06:41:31AM Bill Titus wrote: ===
{{tag>"AREV Specific"}}
Is there a way to evaluate data entered at a prompt in a data entry or collector window either character-by-character or word-by-word?
Thanks in advance for any help.
----
=== At 01 JUN 2000 09:40AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote: ===
You may use a scribe replace routine and put whatever you want in there.
[url=http://www.sprezzatura.com" ]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 01 JUN 2000 10:33AM Don Miller - C3 Inc. wrote: ===
Bill
You can do it a couple of ways:
1. Substitute your own routine for SCRIBE - This can be very powerful but requres a fair amount of programming
2. Put a subroutine in as a post-prompt and analyze whatever is keyed in. Something like:
SUBROUTINE CHECK_DATA
$INSERT your version of AREV common
STUFF=IS ;* this is what was keyed in
* check each character
L=LEN(STUFF)
FOR I=1 to L
BYTE=STUFFI,1 ;* evaluate single byte
NEXT I
STUFF=TRIM(STUFF)
SWAP " " WITH @FM IN STUFF
W=COUNT(STUFF,@FM)+(LEN(STUFF) NE 0)
FOR I=1 TO W
WORD=STUFF[i] ;* Evaluate words ...
NEXT I
* if you need to alter what was keyed in, simply set IS to something
different
Don Miller
C3 Inc.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=BE64313DC88C56CD852568F1003ABBA4|View this thread on the forum...]]