-
Reserved property name conflict
Hello,
I’m currently working on a simple Word Automation project that generates a docx file. Everything is working fine, however I’m encountenring an annoying problem regarding access to the $name property of the Word.Application object that is being returned (in my case it’s the name of a document bookmark).As you may have already guessed, the $name is a reserved Omnis keyword, and when i use lObject.$name, it returrns “lObject”, instead of the actual value of the $name variable.
I’ve tried using lObject.$name(), lObject().$name and lObject.//$name//, but none is working unfortunately. Any help would be greatly appreciated.
PS: I’m using Omnis 8.1.7 (can’t update atm)
Thanks in advance.
Log in to reply.