Yep. I use that all the time for all of our text fields. Works great. Thought maybe the same concept could be used for Dan’s bar code vs. typed characters problem.
Tom Frederick President/CEO Elm City Center 1314 W Walnut Jacksonville, IL 62650 O-217-245-9504 F-217-245-2350 [email protected]<mailto:[email protected]> From: [email protected] [mailto:[email protected]] On Behalf Of Claudine Robbins Sent: Tuesday, March 07, 2017 4:41 PM To: [email protected] Subject: RE: [RBASE-L] - Typed versus Scanned Tom, Razzak showed you how last year. Search for “counting characters as you type” in your RBASE-L directory. Claudine From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Tom Frederick Sent: Tuesday, March 07, 2017 10:55 AM To: [email protected]<mailto:[email protected]> Subject: RE: [RBASE-L] - Typed versus Scanned Is there some way to count the keys pressed? I assume a 7 character bar code does not require a keyboard key press (does the bar code reader button count as one?) while manually entering the characters on a keyboard requires 7 key presses that can be counted. That allows 1 = bar code and anything over 1 is manual. Tom Frederick President/CEO Elm City Center 1314 W Walnut Jacksonville, IL 62650 O-217-245-9504 F-217-245-2350 [email protected]<mailto:[email protected]> From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Dan Goldberg Sent: Tuesday, March 07, 2017 10:19 AM To: [email protected]<mailto:[email protected]> Subject: RE: [RBASE-L] - Typed versus Scanned The only thing I can think of is to have the scanner send a special character to the field, then strip it out with an eep after checking. It would be a lot of work depending on how many fields are scanned. Dan Goldberg From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Richardson, Jeff Sent: Tuesday, March 7, 2017 8:12 AM To: [email protected]<mailto:[email protected]> Subject: Re: [RBASE-L] - Typed versus Scanned Thanks Albert, but that's not exactly what I'm trying to accomplish. I basically want to determine where the input originated from after the user exits the field. Did he/she scan the value, or was it typed? I've been playing around with lastkeypressed and slen of the values, but without success so far. ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Albert Berry <[email protected]<mailto:[email protected]>> Sent: Tuesday, March 7, 2017 11:03 AM To: [email protected]<mailto:[email protected]> Subject: Re: [RBASE-L] - Typed versus Scanned In the form, right clock the memo field and add an EEP to the on exit EEP section. Give the field a ComponentID such as cMemoField. — Exit EEP SET VAR vMemoField TEXT GETPROPERTY cMemoField TEXTVALUE ‘vMemoField’ IF vMemoField IS NULL THEN PROPERTY cMemoField SET_FOCUS ‘TRUE’ Pause 2 using ‘You must enter something’ ENDIF RETURN On Mar 7, 2017, at 6:28 AM, Richardson, Jeff <[email protected]<mailto:[email protected]>> wrote: I want to be able to tell if a value has been scanned (using a bar code scanner) or typed (using the keyboard) into a form's variable memo field upon exiting the said field. Does anyone have a method to make this determination that they'd generously like to share with me? Thanks in advance. Jeff Richardson Charleston, WV ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you have received this message in error, please notify the sender by reply e-mail and delete the message immediately. To unsubscribe from marketing and sales emails, please reply unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

