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

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

Recommended Posts

Posted

Hi all

Is there a way to display the number of find requests and the number of the current find request while beeing in search mode? E.g. "You are in find request 3 of 5".

I would like to leave the status bar hidden while users input their find requests.

Gerd

Variabledemo.java.zip

Posted

Use a script to set a global field to the current number of searches performed + the present search and then start the search. Global fields will display the value in find mode. You can be really cool about it, and not display the global field, but a calculating field that only shows a value if you are in search mode. If you are using this solution on a network, you should make sure that your developed solution is closed the last time with a 0 result. This way each user will always have 0 searches when they start the solution.

Take care – if you use this solution, you need to use the access privileges to make sure a user can only enter search mode with your script and not with the menus or keyboard.

Posted

The other great thing about storing in a global and displaying the search request number, is if it reaches a certain amount, give them a warning that they are in search mode.

If (Search Requests = 5)

Show message " You do know you are in a search mode don't you" [ BTN1=Ooops, BTN2=I Know]

If Status(CurrentMessageChoice=1)

Enter Browse Mode

Go To Layout {Whatever]

EndIf

EndIf

Useful because you never know what your users think they are doing.

Posted

Thanks Rigsby. The hint with the globals was what I was searching for. So I set up two globals (current_find, total_find) and five scripts (find, new_find, delete_find, next_find, previous_find). These scripts navigate through the requests and also set the globals.

That works fine. Unfortunately, I just have to implement this in 21 files... crazy.gif

So if anyone has a simpler idea, my eyes are wide open!

btw: the calculated field, that only shows a value in find mode doesn't work, because (as you wrote) only globals are showing their values in find mode wink.gif

Thanks also to Andy. I think I shoud implement this. One can never know....

Gerd

Posted

To make it easier over 21 files, do you have a preferences file.

If you do place your global there and relate with a constant relationship (1 to 1)

Then you don't need the global in each file, just show it on the layouts for your finds.

Another way to do this is to create a seperate database for your searches, then you only need to script the search in one file. The difficulty is sending the search results back to the correct file to perform the finds, but when it works it sure makes your life easier and also the users know they are in a search.

Just think of it. Do a search, even save what you searched on to make it easy to recall.

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