How to refresh grid after INIT trigger?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have form which displays information in grid.
I wrote a small program and link to INIT so when this form is loaded, init
trigger this program which fix the quantity which is suppose to be displayed
in the grid.

It does change the quantity as expected but does not display right quantity
in grid. I tried to this.grdsumm.refresh but nothing happens. If load this
form 2nd time, it displays the correct quantity.

I want INIT to trigger the program which changes the quantity and as soon
as quantity is changed, grid should be refresh so it displays the right
quantity.
I also tried REQUERY() in REFRESH but nothing happening.

I would appreciate if some please help.


.



Relevant Pages

  • Re: Trapping Mouse Click on a grid
    ... The Grid.Init occurs after all the columns has ... Using VFP naming conventions, and properly naming all your objects to ... If the Grid later would be moved somewhere else or saved to a class, ... look into and I will have to do some more reading on this. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: thanks!
    ... Your grid method code will fire before the init of the form. ... Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html ...
    (microsoft.public.fox.programmer.exchange)
  • Re: How to refresh grid after INIT trigger?
    ... I wrote a small program and link to INIT so when this form is loaded, init trigger this ... It does change the quantity as expected but does not display right quantity in grid. ... Our MVPs and MCPs make the Fox run.... ...
    (microsoft.public.fox.vfp.forms)
  • Re: Trapping Mouse Click on a grid
    ... The Grid.Init occurs after all the columns has taken ... If placed in the grid's Init event code, ... If the Grid later would be moved somewhere else or saved to a class, ... look into and I will have to do some more reading on this. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Child grid woes
    ... pointer), but only with the wait statements running. ... in the grid refresh I've issued a NODEFAULT. ... insert into kid values ...
    (microsoft.public.fox.programmer.exchange)