Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

. Find record with card swipe, set global field...


This topic is 7043 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Using the Inventory template that comes with FMP7, what I want to do is this:

When the user selects an Asset and hits the "check out" button, they are brought to a list view of the Contacts. From here they normally scroll down the list and click to select the appropriate contact. This Contact ID is then added to the History file in the Assets database. Nice, straightforward, it already works.

The Contacts at my university all have student ID cards, and I have a card reader which will enter their unique Contact ID when swiped. So I want to be able to hit "check out," then slide a student ID card, and use that Contact ID to find the correct record and enter it as the person checking out the equipment. Sounds like an easy "find" job. But to do it I may need to interrupt the existing check out script... I have not had much luck. Any insights would be greatly appreciated.

Posted

Maybe something like this would work.

Loop

Pause Script 10 Seconds

Exit Loop If: Student ID ≠ ""

End Loop

The Idea here is that when you pause the script, you can still put in data.

So basically, pause for 10 seconds, check if they have swiped yet, if not, give them 10 more seconds, ect...

This topic is 7043 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.