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

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

Recommended Posts

Posted

Hi guys

I have made a little popup numberpad, and i want it so that when they press a button in the popup numberpad it inserts the value entered into the field where the original button (to pop the number pad) was set. So basically i need to use setfield or insert calulated but need to be able to dynamically set the target field. cant see any way of doing this, am i missing something?

cheers

ben

Posted (edited)

hmmm well this works

Go to Field [ ] [ Select/perform ]

Go to Next Field

Loop

Exit Loop If [ Get ( ActiveFieldName ) = Get ( ScriptParameter ) ]

Go to Next Field

End Loop

only prob is when i have fields in a portal, it just goes to the first portal row, even if the field i clicked was in say row 4!! arghhh

wish filemaker would add this as a feature, as well as being able to hide objects in layouts through scripting. Would have thought they would look at stuff like this before they start doing web page panels etc. hey ho

Edited by Guest
Posted

Hi Ben,

"I have made a little popup numberpad"

I'm unclear on how your numberpad was created. When you say popup, what do you mean? It sounds like you are overcomplicating here but I can't visualize what you have. If the numberpad is comprised of buttons, why not attach a script parameter to the button and, when clicked, pick up that value in your script?

Why don't you explain what you want to accomplish and see if we can add some clarity to your attempt or confuse you further? :wink2:

LaRetta

Posted

This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.

Posted

This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.

Wow, did Hell freeze over, or did Bruce just find something he likes about repeating fields?!

Posted

I had the same notion of a stolen identity yesterday, when seeing his ...fatalistic response in this thread:

http://fmforums.com/forum/showtopic.php?tid/179354/post/217864/#217864

Which is more the way Queue's or Transpower's advices were given - "Give the people what they wan't" kind of attitude.

--sd

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