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

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

Recommended Posts

  • Newbies
Posted (edited)

Hey-ho, all--

Can anyone tell me why this script is not auto-inserting the text into the chosen field when the appropriate condition is met? After creating a record and entering M30001 in the Press field I can then perform the script manually and it works properly.

What am I forgetting?

Duh, the first thing I forgot was the script:

[color:black]Script Title: Auto Insert M30001 WG

[color:red]If [ ImposeCoverSheet::Press = "M30001" ]

Perform Script [ “M30001Webgrowth” ]

End If

Script mentioned above:

[color:black]Script Title: M30001Webgrowth

[color:red]Insert Text [ ImposeCoverSheet::Web_Growth; “M30001 - Y web = use "Web Growth 0.5_Base Yel"” ]

Thanks,

Roger Kidder

RR Donnelley - Wells Division

Edited by Guest
Posted

The Insert Text script step only works when the field is on the current layout.

Change it to Set Field, it has no such limitations.

Posted

Even when the field exists on the layout, it must still be editable in browse mode.

Use the SetField function instead - doesn't require field on layout.

  • Newbies
Posted

Thanks to all for your input.

I did not realize repeating fields were such an issue when it comes to scripting. Since the consensus is that I should not use repeating fields, given my novice status, I have recreated 10 individual instances of the field "Press" labeled "Press01" through "Press10". Now, please tell me I won't need to create 10 different scripts to insert the desired text into the one "Web Growth" field.

I don't think that would work anyway, since it would add the text to the Web Growth field with every instance of M30001 in the Press fields, yes? I only need it to be entered on the first instance no matter which Press field it appears in.

All help is greatly appreciated and I hope y'all can understand what I am talking about.

As an aside, can anyone suggest resources to get a better handle on FileMaker for the novice, including classroom instruction via internet or brick and mortar (in Maine, US)? I am interested in learning a lot more about FileMaker.

I am quite computer savvy and unafraid to plunge right in, having been a Pre-press Systems Administrator for over ten years, but, for some reason I have a difficult time wrapping myself around some of the concepts of FileMaker. I kind of expect the scripting to act like the old BASIC programming language which I learned 35 years ago. What is my problem?

Roger Kidder

RR Donnelley - Wells Division

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