GabrielV Posted January 24, 2008 Share Posted January 24, 2008 I am trying to setup a notes section (text field) which will be used to record actions at different times/dates. How can I set that field to stamp the time/date and separate the different entries chronologically. smiley-wink Quote Link to comment Share on other sites More sharing options...
doughemi Posted January 24, 2008 Share Posted January 24, 2008 Create a script: set field(MyNotesField; ¶ & Get(CurrentTimeStamp) & MyNotesField) Go to Field(MyNotesField) (assuming you want the most recent note at the top). If you want it last, change the first line to set field(MyNotesField; MyNotesField & ¶ & Get(CurrentTimeStamp)) Either attach the script to the field as a button action, or attach it to a separate button. Click the field at the end of the timestamp and type in your new note. --Doug Edit: add missing ")" Quote Link to comment Share on other sites More sharing options...
doughemi Posted January 24, 2008 Share Posted January 24, 2008 Upon thinking it over, a more elegant way to do this is to have a CurrentNote field into which you type your note, and then set your MyNotesField to "Get(CurrentTimeStamp) & CurrentNote & ¶ & MyNotesField" --Doug Quote Link to comment Share on other sites More sharing options...
GabrielV Posted January 24, 2008 Author Share Posted January 24, 2008 Thanks Doug, that worked.. I used the more elegant solution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.