Jump to content

Return/Enter key, Find and Browse mode?


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

Recommended Posts

I want to have a field that is enterable in browse mode but prevents the user from hitting the Enter or Return key and adding a carriage-return inside the field. I also want this field to start the Find immediately when in Find mode and you hit Enter or Return.

It seems you can't do this? If you set it to "Go to next object using Tab Key + Return Key + Enter Key" then the field won't accept Returns while in Browse mode (which is good) but then in Find mode, hitting Return doesn't start the search either (which is bad).

Any workarounds?

Link to comment
Share on other sites

Hi

try this calc for your auto-enter/replace field:

Trim ( Substitute ( yourField ; ¶ ; " " ) )

It is:

1) Enterable

2) Enter or return don't change what is inside it

3) carriage-returns are cancelled

4) in find mode, it finds immediately

P.S. to your P.S.: set it to "Go to next object using Tab Key or Enter Key"

Link to comment
Share on other sites

FMP treats the Return key (on the alpha pad) differently to the Enter ker (on the numeric pad). On a Mac they are labelled Return and Enter, but PC keyboards usually name them both Enter.

The Enter key on the numeric pad exits records and continues scripts. The Return key inserts paragraphs.

Link to comment
Share on other sites

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