Jump to content
Server Maintenance This Week. ×

I don't undersstand why script pauses, Any Help?!?


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

Recommended Posts

Hi Everyone,

I have this basic script written and I do not understand why it pauses in the middle and request that I hit either <enter> on keyboard, or click the Find button that displays on left side.

Go to Field [Production Order::Current Date + 1]

REM:(this is a global field on this layout, provides correct return)

Copy [select]

Enter Find Mode []

Goto Field [Production Order::Order Due]

Paste []

Perform Find/Replace [No Dialog]

Sort Records [Restore; No Dialog]

I do not understand why this script is pausing and waiting for a key stroke or a click to finish the script. Can anyone provide insight?

Thanks,

Steve

Link to comment
Share on other sites

You want to use Perform Find [ ] under Sort/Find/Print not Perform Find/Replace [ ] under Editing. A common mistake. The latter requires you to check 'Perform Without Dialog' but you are never actually performing your find and that's why it won't continue. You are instead performing a Find/Replace text editing feature.

Link to comment
Share on other sites

Hi Moonshadow,

I changed the script to do what I thought you explained (see below) but it still is not working. What basic thing am I missing? I could have sworn I have written many scripts like this in the past and never had this challenge.

Steve

Go to Field [Production Order::Current Date + 1]

REM:(this is a global field on this layout, provides correct return)

Copy [select]

Enter Find Mode []

Goto Field [Production Order::Order Due]

Paste []

Sort Records [Restore; No Dialog]

Perform Find/Replace []

Link to comment
Share on other sites

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