z178 Posted September 20, 2007 Posted September 20, 2007 How can I make all records viewed in a certain layout capture the date they are viewed in that layout. I tried this - Created a Layout "Special" In each record, created a Text Field with an autoenter calculation GetAsText ( Case ( (Get ( LayoutName )="Special") ; Timestamp(Get ( CurrentDate ); Get(CurrentTime) ) ) ) This triggers the script only when a new record is created while in the "Special" Layout How do I trigger a calculation to be done, every time a record goes into a specific layout?
z178 Posted September 20, 2007 Author Posted September 20, 2007 If I avoid the status bar buttons to navigate through records and to layouts, and use buttons on the layout to do the same tasks Can I achive the same results? Would that be the way to do it?
Inky Phil Posted September 20, 2007 Posted September 20, 2007 Yup you are going to have to limit navigation to that 'special' layout so that to get to it a user has to press a button. You can then attach a script to the button that uses a setfield instruction to store the date or time or both into a field and then uses a go to layout instruction. HTH Phil
Recommended Posts
This topic is 6273 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