Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
DRoam
in reply to: shastu

Which control definition are you executing? "oDerivedCommandDef" is just an instance of a ControlDefinition object that was probably created using something like:

 

 

Dim oDerivedCommandDef As ControlDefinition
oDerivedCommandDef = ThisApplication.CommandManager.ControlDefinitions.Item("<Control Definition Name>")

 

There's no way to know what you're trying to do from the arbitrary name (in this case "oDerivedCommandDef") that was given to the Control Definition object. So what is the actual <Control Definition Name> in your case?

 

I ask because I would guess (and hope) that whatever derive operation you're doing could be done directly via the API, rather than by executing a user command.

 

Most Control Definitions execute some kind of user command which by it nature requires user input to complete, and in some case there's no way to provide those inputs automatically. But there's no way to say without knowing what exactly you're trying to do.