Skip to Content
Jan 12, 2021 at 08:54 PM

The control could not be found by id

297 Views Last edit Jan 13, 2021 at 12:22 AM 5 rev

Hi Experts,

I ran scripting to save a table from a transaction. That works great too. For another transaction, selection parameters must first be set in a mask. As soon as the table is loaded and a button in the toolbar is clicked in the scripting program, I get the error message: "The control could not be found by id." Therefore I cannot save the table via scripting.

The scripting tracker doesn't show me a menu button, but a shell.

The scripting code works for the first table:


In the second table I record the following command, which however outputs the error:


What am I doing wrong? How can I find out what the difference between the two tables is, why the toolbar is only inaccessible for one table?

Is there a way to give the mouse coordinates to click as a command?

Thank you very much for your support.

Many Greetings, Chris