Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID TROUBLES
Message
 
To
23/02/2001 00:41:49
Thomas Swaney
Milestone Computer Solutions
Asheboro, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00478707
Message ID:
00479139
Views:
23
Thomas,
Are you using a read/write cursor, a table or a view? If a cursor or a view can you requery() it before you refresh your grid? Also, are you calling the grid.Refresh() specifically? Grids often do not refresh correctly if you are calling a form or page refresh().

I'm sure you've checked the SET DELETED status, but I thought I'd add it anyway < grin >.

Finally, unlike Spencer I've had excellent success using p-views in grids, although I do try to keep all editing to outside textboxes and keep the grids read-only.

HTH
Barbara

>I have a grid that I am doing something sort of unusual with. I am using a grid to gather items that are purchased and any options added to the items are below the item purchased in the grid (almost like details for the item).
>I am deleting the options for the item purchased if the user deletes the item.
>The problem is that I cannot refresh the grid clearing the deleted records once they have been deleted.
>I have set delete on and tried using the refresh method to refresh the grid without success. I have tried to set the focus to another control which appeared to clear the records if I click on a control manually but not when I wrote code to set focus to the same control.
>The code for deleting the options for the item purchased is the delete method of the grid.
>I also wonder if anyone knows what the firing order of the events are for a grid.
>
>I really appreciate any help with this problem. I have found grids to be troublesome sometimes but I think if I knew the firing order of the events things would be easier.
>
>Thanks Again.
>
>Thomas S.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform