>Hi Barbara,
>How do i add the Grid refresh,...Do I add it in the combo box event or the grid's refresh event?...I am pretty new to this OOP thing used to do Foxpro on DOS...
Thisform.Grid1.Refresh() && Grid1 property name of the grid.
If your grid is inside on another container object, say pageframe:
Thisform.Pageframe1.Page1.Grid1.Refresh() &&
or
Thisform.Pageframe1.Page1.Refresh() && Enough
>Jeff
>>Jeff,
>>The usual item missed is a grid Refresh. Try adding that even if you have a form/page refresh.
>>
>>Are you using grid properties (relationalexpr, linkmaster, etc.) or are you using a parameterized view? If the latter, you will need to requery the view as well.
>>
>>HTH
>>Barbara
>>
>>>My intention is to have a combobox to let the user choose a invoice number (which is stored in the invoice master talbe. The invoice line items are contained in another file call invoice_Items
>>>
>>>I have also setup the nessary indexes (Primary and regular)
>>>
>>>This is what i have done.
>>>
>>>I have followed all intructions on page 290 of the VFP5.0 Developers guide to have the form dispay the invoice line items in the grid. the invoice number is chosen from a combobox.
>>>
>>>BUT it doesn't work,..there is nothing on the grid...??
>>>
>>>Did I miss out something? Hope someone can help
>>>
>>>Jeff
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."