Jump to content
Sign in to follow this  
joegez

How can I show the find criteria that were used

Recommended Posts

I would like to create a layout that would show the criteria that were used to find the set of records. Is there any way to get them into a global text field that would be int he header of the layout?

Share this post


Link to post
Share on other sites

Use [FMP-CurrentFind]

"Repeats the HTML between [FMP-CurrentFind] and [/FMP-CurrentFind] for each find criteria that was part of the request that created this page."

Sorry - thought this was in the CDML section...

[This message has been edited by dspires (edited February 01, 2001).]

Share this post


Link to post
Share on other sites

How complicated is the Find that you are trying to do? If it is as simple as finding say a name then use a script to go to a layout to input the find criteria. Click on a button to Resume the script and then once the found has taken place set the global field gCriteria to equal the Name field

Go to Layout [FIND]

Enter Find Mode [Pause]

Perform Find[]

Go to Layout [MAIN]

Set Field [gCriteria, Name]

You might also want to allow for the situation where no records are found.

Hope this helps.

Share this post


Link to post
Share on other sites

I am trying to accommodate users who will be able to do a find using a layout with approximately 30 fields. They would have no limitations imposed about the types of finds they could construct. I would like them to be able to view the find criteria when they see the outcomes of the finds.

Share this post


Link to post
Share on other sites

I think I chasing this topic on two different threads! I'll repeat what I posted to your similar question. (multiple posting the same question doesn't really improve your chances of an answer! wink.gif)

The usual way to approach this is to have the user enter find requests into global fields in Browse mode. Then the informatin is already available for display, use in report titles, etc. The script transfers to Find mode and fills the actual request fields. With creative scripting you can implement everything that you can enter in find mode with this approach.

-bd

[This message has been edited by LiveOak (edited February 02, 2001).]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.