KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: 4D v6.5 Inserting Date, Time or User into Object Comments
PRODUCT: 4D | VERSION: | PLATFORM:
Published On: June 25, 1999
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

4D 6.5 offers you shortcuts to insert standard information, such as the date, time and user name (as defined in 4D’s password table) into your comments associated with objects such as form and methods.

To insert the date, time or user name into a comment


  • In the comments area associated with the object, click where you want to insert the information.
  • On Windows: right+click in the area.
  • On Mac OS: control+click in the area.


A hierarchical menu appears with the following options:

Font
Size
Style
Color
Insert

Current User
Current Date
Current Time

Select from the Insert menu which item of information you wish to insert. The selected information is inserted immediately into the comments area with its current value. If the database doesn’t have a password system, the user name will not appear. These values are static and will not be updated automatically.
Note: This technique only applies to the comments area, not to comments added in the method itself.