Reading magnetic strip card

Louis BROUILLETTE Louis_Brouillette@UQTR.UQuebec.CA
Mon, 25 Sep 2000 10:02:29 -0400


Chris,

That helps to skip the semicolon but I need the rest of the string.  How
would I do this ?

If I can't find anything else, I think the best solution would be to add a
designer procedure to change the separator character from ";" to something
else so the user would decide to do it if he has a magnetic strip reader.

Thanks everyone for your help.

At 09:02 09-25-00 +0100, Chris Sharman wrote:
>
>>I'm trying to read a magnetic strip containing the student id into a quick
>>screen.
>>My problem is that the string that I read begins with a ";", the command
>>separator.  It causes the entry field to be skipped.  I can't change the
>>separator character in the qkgo because users would kill me.  So my
>>question is: Is there a way to disable the separator character (or change
>>it to something else) for the period of time the input procedure is
executed ?
>
>You could use the input procedure to discard the leading null entry:
>
>procedure input studentid
> begin
> if (fieldtext="")
>  then error "" ;Skipped semicolon
>  else let fieldtext = ";" + fieldtext
> end
>
>Chris
>_______________________________________________________________________
>Chris.Sharman@CCAgroup.co.uk		http://www.ccagroup.co.uk/
>CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
>
>
Louis Brouillette
Analyste en informatique (DBA)
Universite du Quebec a Trois-Rivieres
Tel: (819) 376-5011 ext. 2435
Email: Louis_Brouillette@uqtr.uquebec.ca
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.