Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Confused on Find


Jim_Shelton

Recommended Posts

We are in FM 8.5, I have user who needs to do a search daily. Everything in the search is the same with the exception of the Ship Date. She needs to be able to enter that date. The remainder of the search is comprised of an overall search using two fields. And three omits using the same two fields with one additional field. That last field filters the omits.

 

My script works fine if the Ship Date is hard coded in. For some reason this is not making sense to me. Could use some help.

 

Jim

Link to comment
Share on other sites

Sure. This is what the user needs to search for, but they need to indicate a specific, Ship Date (which is a date field)

 

Go to Layout ["Eltron List PHASE 1" (Job Ticket 3)

Perform Find [specified Find Requests: Omit Records; Criteria: Job Ticket 3::Job Status; "Billed"

Omit Records; Criteria: Job Ticket 3::Job Status; "Shipped"

Omit Records; Criteria: Job Ticket 3::Job Status; "Cancelled"

[Restore]

Enter Browse Mode

Link to comment
Share on other sites

You need to have the first request be a regular non-omitted request. Then your user will enter their criteria into that one, and omits happen on subsequent requests.

 

BTW: I think it's generally easier to read and debug scripts that don't use Restored Find settings. You can instead add Find criteria with a series of New Record/Request and Set Field[] script steps (and Omit Record, if it's an Omit criteria):

 

Enter Find Mode[]

Pause Script[]

New Record/Request

Set Field[Job Status; "Billed"]

Omit Record

New Record/Request

Set Field[Job Status; "Shipped"]

Omit Record

New Record/Request

Set Field[Job Status; "Cancelled"]

Omit Record

Perform Find[]

...

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



×
×
  • Create New...

Important Information

Terms of Use