Hijack Posted January 1, 2010 Posted January 1, 2010 (edited) Does anyone know if it's possible to turn off record last modified timestamp fields auto-updating during scripts? I'd like to batch process a set of records for a simple checkbox field update but I don't want to lose the last modified data which reflects last *user* modification of the record data. Thanks Edited January 1, 2010 by Guest
comment Posted January 1, 2010 Posted January 1, 2010 See if this helps: http://fmforums.com/forum/showtopic.php?tid/170406/post/179569/#179569
Hijack Posted January 2, 2010 Author Posted January 2, 2010 Thanks Comment! That did the trick. I can now keep my script mods from updating the last edited timestamp (well, at least one I can calc against). It's not perfect since I do have some user scripts that update things I'd like to track but those scripted edits are minor compared to the other normal fields I'd like to see update times on.
comment Posted January 2, 2010 Posted January 2, 2010 It's not perfect since I do have some user scripts that update things I'd like to track I think the exact opposite: your problem is that the method IS perfect - while what you need is an imperfection. For example, you could mark your "user scripts" by including something distinct in their name, say a "[user]" suffix, then test for: IsEmpty ( Get (ScriptName) ) or Exact ( Right ( Get (ScriptName) ; 6 ) ; "[user]" )
Hijack Posted January 2, 2010 Author Posted January 2, 2010 (edited) Yeah. I was thinking that I could case-out some of the few user scripts that are used to update data without too much trouble. Too bad there isn't a script step to just turn off auto-updating when needed. But, eh, you can say that about a thousand things. Edited January 2, 2010 by Guest
Recommended Posts
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