Jump to content
Sign in to follow this  
millmaine

Problem with Sort Records script step

Recommended Posts

I have a script which

1. Finds a particular group of records

2. Sorts them via: a sub-summary field (week commencing date), then a date field (appearance date).

When I have run the script the first time after creating it or modifying it, everything works fine.

Then if it is run again, it sorts through all records — not just the found set. It still returns only the found set in correct order but the time taken to sort through 10,000 records when it only needs to sort 60 or 70 is annoying to the operator.

Why is it happening?

One more thing: it only seems to happen if the script runs with no dialog — but if I run it with dialog nothing is required of the operator except to click OK but I don't want them to have the option of changing things.

Share this post


Link to post
Share on other sites

1. What exactly is a "sub-summary field"?

2. Can you reproduce the problem in a new file?

Share this post


Link to post
Share on other sites

Sorry, not a sub summary field.

Week commencing date is a calculation field that is in a Sub-summary Part of the layout.

I'll test in a new file shortly.

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  

  • Who Viewed the Topic

    1 member has viewed this topic:
    SRBENET 
×
×
  • Create New...

Important Information

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