Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I'm developing a point of sale system where everything will be scripted...no keyboard, just a touch screen. I have imported the graphics I need for many of the layouts, assigned buttons to each transaction and I am now starting to script.

My immediate problem is that I have 3 fields; Register number ,

Shift number and Cashier number that need input of the appropriate number or possibly 2 numbers for each field.

I have designed an on-screen keypad with 0 thru 9 plus an enter key with appropriate buttons for each named 1,2,3 etc. I have these fields as text but they of course could be number if it is better that way.

I can't find a way to select the REGISTER field and then use the on-screen keypad to enter 05 for example so that is will remain until it is manually changed or overwritten. The same goes for the SHIFT and CASHIER fields.

Once this information is entered by the Cashier and only then will he be able to navigate to the transaction screen (Navigation is done) where the info he input will appear with other info.

I suspect that set field is used but I can't seem to get the entire script sequence right.

Thanks for your help.

Greg

Posted

Probably better to enter the digits into a global text field using the "keypad" then set the final number into the real field when the "done" or "enter" key is pressed.

The global field might be named "gKeypadEntry", so the keypad number buttons would run scripts that add the digit onto the existing contents of the field... actually I'd use one script but the keypad buttons have the numbers in script parameters, so the script would be:

gKeypadEntry & get( scriptparameter )

The "enter" key would set the gKeypadEntry data into the number field.

Posted

Hi Vaughan,

Thanks so much for your timely reply. I see where you are going but I don't know yet how to get there. I've been away from this too long I guess.

Would you be so kind as to hold my hand and walk me thru the following script steps?

I have the following text buttons:

0 (zero) button

5 button

Enter button

I have a field called Cashier

I have made a global field called as you suggested ; gKeypadEntry

What script do I use to assign the 0 and the 5 to their respective buttons and have them entered into the global field as lets say

05.

Ok now that they reside in this temporary file I use my enter key

to move the 05 into the Cashier field where they will be permanent until another Cashier overwrites the field with his own Cashier number. How do I script this?

Once I take these baby steps and see the logic of the scripting line by line I think I'll be OK.

Thanks,

Greg

Posted

Much appreciated. I only hope that I will be able to help others get over the hump as you have helped me. By the way I just joined technet because of your kind help.

Greg

This topic is 6446 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.