Jump to content

Perform Find with Script Parameters


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

Recommended Posts

I have this dandy little application I am working on that helps manage tasks.

You create a task > Assign it to a worker

Click on the worker > Find all tasks assigned to worker

This is, for the most part, button driven.

The names of the buttons are dynamic.

If you change the name of a worker in the worker list layout, the name changes on the buttton.

Everything was working great in Version 1.

In version 2, I tried to minimize the number of scripts that I have to manage. So I substituted the [Get Script-Parameter] function for a lot of otherwise redundant scripts.

Except that now the Perform Find Script breaks.

I am going try to attach both versions to see if someone can find the glitch.

Thanks for any help.

Jarvis

works.fp7.zip

does_not_work.fp7.zip

Link to comment
Share on other sites

Well for one thing you are trying to find text in a number field. You have defined Worker as a number field. And you are using the Worker to Find field in your find script but that's not where you entered the worker name - you put it in Worker.

Link to comment
Share on other sites

Bruce,

Thanks for your help.

I corrected the number field/text field issue and I was able to populate the SELECT WORKER & WORKER OF MOMENT fieldS via [get Scriptparameter] function.

It still breaks on the FIND WORKER OF MOMENT script.

The script reads:

Enter Find Mode

Set Field:[worker:worker of moment;Get (Scriptparameter)]

Perform Find

Any suggestions?

Thanks,

Jarvis

AsPerBruce.fp7.zip

Link to comment
Share on other sites

Bruce,

I figured it out!

Thanks for your help.

And thanks also to Fenton & LaRetta, who got me organized

on this topic about six months ago.

Jarvis

PS: Please stand by. It's reassuring.

Link to comment
Share on other sites

This topic is 5761 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
 Share

×
×
  • Create New...

Important Information

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