Cyril
Cyril

Reputation: 2818

How do I automatically go to the next field after entering data on a field using filemaker pro

I am very new to filemaker pro and I'm using scanner to scan ID cards, I want a way where after I scan the ID's, it will automatically go to the next field.

Any suggestions?

Upvotes: 1

Views: 1630

Answers (2)

Bingo
Bingo

Reputation: 375

My FileMaker solution does exactly this.

  1. you program the Barcode scanner to append a carriage return at the end of the barcode when it scans it.

  2. in FileMaker, set an onObjectSave script trigger for the field where you are inputting the barcode which will trigger when you exit the field. In this script you would run what ever code you want to process the barcode. Your script can also Go to Next field.

OnObjectKeystoke that someone has suggested does not work properly and you will have issues with it where it sometimes triggers and sometimes it doesn't. I found it to be unreliable.

Upvotes: 0

michael.hor257k
michael.hor257k

Reputation: 117083

Doesn't your scanner output a "postamble" character to signify the end of the scan? Ideally, you would program it to be the tab (ASCII 9) character, so the scanner would completely emulate a human user.

Return/Enter characters can also be used in the same way - if you set the field/s in question to "Go to next object using [one of these]" in the Inspector.

Less conveniently, but you can use any other character in conjuntion with a script triggered OnObjectKeystroke.

This is assuming you really want the cursor to move to the next field at the end of a scan. To me, it sounds like you are scanning multiple instances of the same entity - and therefore each scan should create a new record.

Upvotes: 3

Related Questions