Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script with find and user input

Featured Replies

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

I think you're just missing the

PerformFind [] (without specifying requests)

step. Then you can go on to the printing.

Edited by Guest

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.