KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Open document returns a time type variable
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: November 29, 2005

Open Document is a function that returns a reference to the opened file. The returned reference type is actually time, and must therefore be declared with the C_TIME command. Also, note that 4D documentation specifies the Open Document function result type as DocRef, while 4D will actually perceive the result as a time type variable.