October 17, 200322 yr using fmk 4.1 on a mac in os 9. i have one field (a) in one module. have field ( in another module. the module that has field ( also has a modification field that auto enters date modified, EXCEPT when field ( is triggered by field (a). the script is in layout that has field (. the script is as follows: If(IsEmpty(newitemISBNSKU::FileName), "", "Yes") can i add something to this script so that when the field (a) adds a "Yes" to field ( it updates modification date field in the same layout as field (? what would i add?
October 20, 200322 yr If you're doing it with a script anyway, why not just add a step to update the modification date field? Set Field [ModificationDate, Status(CurrentDate)]
October 20, 200322 yr Author i could just add the above you supplied to what is already in there? If(IsEmpty(newitemISBNSKU::FileName), "", "Yes")
October 20, 200322 yr Author would i just add it to the current script? If(IsEmpty(newitemISBNSKU::FileName), "", "Yes") Set Field [ModificationDate, Status(CurrentDate)]
October 20, 200322 yr Yes. Just make it the next step after the "If(IsEmpty...." BTW, I was assuming that the modification field is in the file where the script is running, if it's in the related file then you should use this step instead: Set Field [newitemISBNSKU::ModificationDate, Status(CurrentDate)]
October 30, 200322 yr Author i can't get either to work and update the modification date. the "script" was created when defining the field. i also noticed when you change data in other related fields the modification date does not change. any ideas? i did create a script that cuts the date created from one module and pastes it to the modification date but it has to be manually done. i would like to automate it. can i attach the script to a field so when it is "touched" it actives the cut and paste script?
Create an account or sign in to comment