Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I am sure it is easy and I am just missing something, but this script is giving me fits this morning. I am trying to run a script that will find all receipts created on a certain date, then print labels for them.

I have created a separate label layout, and if I do it manually everything works fine. I want to be able to do everything with the click of a button and a simple input of the date though.

When I do the process manually, I perform the following steps:

1. Open New Window

2. Go to Layout (Pre-Paid)

3. Go to Field (Receipt Date)

4. Find whatever date

5. Go to Layout (Pre-Paid Labels)

6. Print

Like I said, that works fine, but I can't seem to get the user input part of the script. I can make it work if I want to just use the current date, but sometimes we want to print other days.

Here is the current script I have, after messing with it for a few hours:

Print Today's Pre-Paid Labels

Show All Records

New Window [ ]

Go to Layout [ “Pre-Paid Labels” (Pre-Paid) ]

Go to Field [ Pre-Paid::Receipt Date ]

[ Select/perform ]

Enter Find Mode [ ]

[ Pause ]

Go to Layout [ “Pre-Paid Labels” (Pre-Paid) ]

Print [ Records being browsed; All Pages; Orientation: Portrait; Paper size: 8.5" x 11" ]

[ Restore ]

Close Window [ Current Window ]

What's missing or what am I doing wrong?

Thank you for any input. I have always received great replies to my posts and everyone has been very helpful to this FM novice.

Mike

Posted

I.e., you have entered Find mode, but then you have to actually Perform the Find. Also, your [Pause] should be part of the Find step (use the checkbox), not a separate step.

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