Newbies DianeK Posted November 14, 2009 Newbies Posted November 14, 2009 I would like to know if there is an easy way to add text in a notes field to all of a found subset of records without replacing text that is already there. I've seen a few scripts here in the forum, but it's very confusing. I've seen this: Replace Field Contents [ YourField; Case ( not IsEmpty ( YourField ); YourField & "(.jpg)" ) ] And this: Find the records you want to modify, and do Replace Field Contents… with calculated result = YourField & ¶ & "New Keyword"
Peter (duksis3) Posted November 14, 2009 Posted November 14, 2009 If you do this via script (different staring content in field): Loop through finded records and on each Set field (YourField) = (YourField)&","&"Your text" or Set field (YourField) = (YourField)&","&Field with your text.
Newbies DianeK Posted November 14, 2009 Author Newbies Posted November 14, 2009 Thanks very much for your reply. Is using a script the only way to accomplish this? I wish there was an "ADD to field contents" button. I find the scripting very confusing -- need hand-holding through the process as I've never done it. A real world example would help.
bruceR Posted November 15, 2009 Posted November 15, 2009 Thanks very much for your reply. Is using a script the only way to accomplish this? I wish there was an "ADD to field contents" button. I find the scripting very confusing -- need hand-holding through the process as I've never done it. A real world example would help. In your FileMaker application folder, there is a folder "English Extras" and inside that, a folder "Electronic Documentation". Inside that is a tutorial file.
bcooney Posted November 15, 2009 Posted November 15, 2009 Honestly, anytime I see the request to append data to an existing text field, it points to the need for a new child table. That is, a Notes table, related to the parent table by parent ID. Then, each occurrence of a note is a new related note record in the Notes table. This will allow you to also capture the Note record's created date/time, the Account Created, etc.
Recommended Posts
This topic is 5545 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