Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing grids
Message
From
29/09/1999 18:25:41
Steve Ramsower
Alliant Insurance Sevices, Inc.
California, United States
 
 
To
24/09/1999 15:42:43
Criss Jensen
Injury Prevention Research Center
Iowa City, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00268722
Message ID:
00270789
Views:
24
Hey Chris,
Here's an idea. You may be unbinding the control source for your grid objects by recreating the cursor when you move the record on the page one grid.

You might try a couple things:
1. Base your 2nd page grid on a parameterized view then update your parameter variables and call requery('viewname') before the refresh() of your grid.

2. After adding the Editbox to your grid column, remove the textbox control.

Good luck!
Steve


>Hi All!
>
>I have a form with two grids on different pages. I create a cursor that is the record source for the grid on the second page based on the selection in the grid on the first page. I do this in the refresh of page 2, which specifically calls the grid's refresh. Both grids have only one column in which I have replaced the textbox with an editbox. The first time the grids are displayed, they are fine, but after refreshing, I seem to have a textbox again instead of my editbox, and despite resetting Sparse = .F. in the grid refresh, I only see "Memo" in that field. What am I missing?
>
>TIA,
>Criss
Previous
Reply
Map
View

Click here to load this message in the networking platform