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

Find by Get (ScriptParameter) or ?


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

Recommended Posts

Posted

My goal is to have a generic script which enters find mode, goes to "x" field so I can keep my script population down. I am attempting to do this based on the script parameter for the button launching the script, but it seems that the "Specify" option only related to a repeating field. Am I on the right track or is there a smarter way? If I'm on the right track, what am I missing here?

Posted

Go to Field will take you to either enter in a calculation, or just click on your field name.

OTher than that, i dont understan UR question.

-

Posted

@imoree, Go to Field doesn't, unfortunately, work that way. You can only calculate the repetition, as Mif says.

One workaround I've seen is to give the field an object name and then use Go to Object[Object Name: Get( ScriptParameter)] but I don't know if that would be too convoluted for your needs.

Posted

I can see how my question looks a little confusing. Let me give it another try.

I have two fields on a layout, FirstName and LastName

I want to be able to click in either of the two fields, invoke a find and end up in find mode with the cursor inserted and flashing in the field I clicked in.

(The whole problem seems to be getting the cursor to remain in the field I selected. If it is the only field in the tab order, it works fine. If both fields are in the tab order, the cursor flashes in the the 1st field in the tab order. If none of them are in the tab order, neither gets a flashing cursor.)

(My original question was around trying to grab the field name as a variable or through script parameter and then scripting a "Go to field" to get the cursor inserted in the field I want.)

Thanks

Posted

I want to be able to click in either of the two fields, invoke a find and end up in find mode with the cursor inserted and flashing in the field I clicked in.

simply Enter Find Mode[] does that, doesn't it?

Posted

It only seems to work if you want to use it with one field, and only if that field is in the tab order.

By the way, I tried the "Go To Object" with "Get Script Parameter", and yes it goes to that field, but still can't get that cursor flashing in the field. It just highlights the field border.

Posted

Hmmm.. They both work as you want in FMA 10 on Snow Leopard. Must be a FM11 thing.

Posted

I can see how my question looks a little confusing. Let me give it another try.

I have two fields on a layout, FirstName and LastName

I want to be able to click in either of the two fields, invoke a find and end up in find mode with the cursor inserted and flashing in the field I clicked in.

(The whole problem seems to be getting the cursor to remain in the field I selected. If it is the only field in the tab order, it works fine. If both fields are in the tab order, the cursor flashes in the the 1st field in the tab order. If none of them are in the tab order, neither gets a flashing cursor.)

(My original question was around trying to grab the field name as a variable or through script parameter and then scripting a "Go to field" to get the cursor inserted in the field I want.)

Thanks

You request is unclear. You should probably post your script or your file or an example file.

If you are already in the intended field before entering find mode, then why do you need to add a go to field step in your script?

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