Jump to content

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

Recommended Posts

Posted

Hi there,

I'm back with yet another question wink.gif

How can I search across the whole database and not just within the field I entered the query in? After that all matching entries should show up and not only the first one found, maybe in a list...

Any suggestions?

Greetings

Dirk

Posted

Hi there,

This should probably be posted under the "Finding and searching" topic.

One method is to use a global field to enter your query, and then script-

enter find mode (no restore)

set field (Field1, Global)

newrecord/request

set field (Field2, Global)

newrecord/request

set field (Field3, Global)

newrecord/request...(untill all fields you want searched are set)

perform find (no restore)

go to layout(YourListLayout)

HTH

-Raz

Posted

Or purchase FM v6 and use the new Find and Replace.

You type what you want to find and select the option all fields.

HTH

Lee

cool.gif

Posted

How about making a calc field containing the list of all your fields:

Example:

a calc field named c_finder contains field1 & " " & field2 &" " & field3 ...

Search through that field

Posted

Lots of suggestions smile.gif

I tried the search/replace function and it works so far. Since it can search all fields available in the db I need to figure out a way to get all the found record sets to be displayed somehow.

Its somewhat difficult for me to give you the appropriate names of all functions cause I'm using the german version of FM6 (wonder why the translated the script commands at all?!)

What I am using in my other found object lists ist a data field in the layout in which I put the relevant fields... works great. But here I can't place all fields in there its just too many of them.

Is there another way you can tell FM to display found datasets ? I get only the first found set.

Dirk

Sorry for being slightly OT wink.gif

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