Home » Developer & Programmer » Forms » Restricting entry from keyboard (Form 6i)
Restricting entry from keyboard [message #440979] Thu, 28 January 2010 03:30 Go to next message
athar.fitfd@hotmail.com
Messages: 193
Registered: October 2007
Location: pakistan
Senior Member
Hi everyone

i am working on attendance system using barcode scanner.

i want the user can only mark his/her attendance by scanning the attendance card.

and cannot use keyboard.

Thanks in anticipation

Regards

Athar
Re: Restricting entry from keyboard [message #440986 is a reply to message #440979] Thu, 28 January 2010 03:51 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I don't think that you can do that programatically. Barcode scanner "emulates" a keyboard. Moreover, it is *usually* plugged into the same cable port as the keyboard. So, it doesn't matter what the input is - keyboard or scanner - the result is the same.

Therefore, you'll need to do something "physically" - lock the keyboard into a box, take keys out of the keyboard, hide it behind the wall ... whatever.
Re: Restricting entry from keyboard [message #445460 is a reply to message #440979] Tue, 02 March 2010 00:05 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry that I have been so long in replying. Have you solved your problem?

Remove the keyboard from the machine or lock it in a drawer.

David
Re: Restricting entry from keyboard [message #445697 is a reply to message #445460] Wed, 03 March 2010 06:54 Go to previous messageGo to next message
athar.fitfd@hotmail.com
Messages: 193
Registered: October 2007
Location: pakistan
Senior Member
Sory david

this is not solution of the problem.


Regards

Athar
Re: Restricting entry from keyboard [message #445700 is a reply to message #440979] Wed, 03 March 2010 07:03 Go to previous messageGo to next message
Martin Eysackers
Messages: 80
Registered: October 2005
Location: Belgium
Member
I've seen a complex solution to this (don't have the code sorry)
where timers where used to detect input
if input in a field is done then the time to fill this field is calculated, if time < certain value then input was scanner else keyboard and raise form_trigger_failure
Re: Restricting entry from keyboard [message #445706 is a reply to message #440979] Wed, 03 March 2010 07:16 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
That wouldn't work if someone used ctrl-v to paste in the value.

@athar.fitfd@hotmail.com - removing the keyboard is the only solution that is guaranteed to work. Not what you want to hear but true all the same.
Re: Restricting entry from keyboard [message #445710 is a reply to message #440979] Wed, 03 March 2010 07:39 Go to previous messageGo to next message
Martin Eysackers
Messages: 80
Registered: October 2005
Location: Belgium
Member
point well taken
Re: Restricting entry from keyboard [message #445968 is a reply to message #445710] Thu, 04 March 2010 23:17 Go to previous messageGo to next message
athar.fitfd@hotmail.com
Messages: 193
Registered: October 2007
Location: pakistan
Senior Member
Thanks for taking interest.


if i removed keyboard then how can i type the password for window login.


Thanks

Athar
Re: Restricting entry from keyboard [message #445976 is a reply to message #445968] Fri, 05 March 2010 00:10 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Create a barcode with user's password, print it and let user read it via barcode reader.
Re: Restricting entry from keyboard [message #447408 is a reply to message #445976] Mon, 15 March 2010 01:32 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Print out all the characters and numbers with their barcodes and make the user 'flash' each character, one at a time.

David
Previous Topic: how to integrate excel with forms
Next Topic: Commit record automatically
Goto Forum:
  


Current Time: Fri Sep 20 06:52:38 CDT 2024