Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing grid in cBizObjMaintenanceForm
Message
From
26/10/1998 14:44:17
 
 
To
26/10/1998 14:40:49
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00150580
Message ID:
00150610
Views:
25
Hmm, it should work without any problem with This.Grid.Refresh in Page.Activate event. If for some reason not, you still can apply (for testing at least) This.Grid.Recordsource=This.Grid.Recordsource (there are no grid miracles which would survive it :).

>Ed,
>
>No I have a Read/Write Cursor populated with an INSERT INTO via a FOR loop
>
>Any other suggestions?
>
>Rex
>
>>Do you SELECT ... INTO Cursor ... (it's overriding) or you SELECT ... INTO array .. and then INSERT Into ... From Array ... (it's repopulating)?
>>
>>>Ed,
>>>
>>>I am not overriding grid.recordsource, just repopulating it. How do I refresh the screen at that time???
>>>
>>>Thanks
>>>
>>>Rex
>>>
>>>>>All,
>>>>>
>>>>>I have a cBizObjMaintenanceForm form with 3 pages on the pageframe. On the third page I have a grid. Whenever the third page is activated, I need to check and possibly update the information in the control source for the grid. My problem is that I cannot seem to get the grid to refresh.
>>>>>
>>>>> I have tried adding a This(form).Refresh in various places, but the grid refuses to refresh.
>>>>>
>>>>>I am populating a cursor to feed to grid.
>>>>>
>>>>>TIA
>>>>>
>>>>>Rex
>>>>
>>>>When you override grid.recordsource (cursor), you have to reset RecordSource and some other gird/column properties programmatically.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform