MJG Posted June 20, 2007 Posted June 20, 2007 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
Emma in England Posted June 21, 2007 Posted June 21, 2007 (edited) I think you're just missing the PerformFind [] (without specifying requests) step. Then you can go on to the printing. Edited June 21, 2007 by Guest
Fitch Posted June 21, 2007 Posted June 21, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now