Topic: How Execute a Form TableGrid from MenuItem

Hello Dimitri

Please tell me how you should code using SCRIPT, to load a TableGrid from a menu option.

Although the TableGrid has been set to load automatically, calling it from the menu does not present the data.

When I invoke the same form with a button, if I load the form with the data automatically.

P.S. The version I am using in MVDB 1.44

Thank you for your always accustomed excellent attention

Post's attachments

Attachment icon Load Form From MenuItem.zip 859.03 kb, 538 downloads since 2017-04-03 

Re: How Execute a Form TableGrid from MenuItem

Hello.


If you open form using script, you should update TableGrid manually using this method:

Form1.TableGrid1.dbUpdate;

Check it out:

   WrkTab.TableGrid1.dbUpdate;
   WrkTab.ShowModal;
Dmitry.

Re: How Execute a Form TableGrid from MenuItem

Hello

Excellent, Thank you for your support in resolving this issue.