When developing an application in a multi-user environment, it is not always easy to keep track of when or who make the last change to a project method or even to a form. Often time, it is up to each developer to be discipline enough to insert a flag or comment of the last change. A simple way to track a date and time or current user who makes the last change is to activate automatic comments options to the database.
In the Database Settings, the Automatic Comments option can be found under General settings.
One the Activate Automatic Comments checkbox is checked, the text area below can be edited. Notice that there are 3 insert options: Date (#D), Time (#H) and User name (#U). They can be used in conjunction with static text. Here is an example:
When a form or a project method is saved, 4D will automatically insert the specified comments into the Comments section of the Explorer. If a previous comment already exists, the new comments will be appended to the last one. Here is an example: