Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids, bit of a strange one
Message
From
01/01/2002 20:27:04
 
 
To
31/12/2001 22:06:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00599542
Message ID:
00599634
Views:
9
>Hi there
>
>I have a grid that displays data from two tables based on key fields in the table upon which my grid is based
>
>The first column (Work Category) is just used to display and the second contractor uses a combo to display the name of the contractor to assign.
>
>Everything works fine and my data is updated correctly but if I click on the combo and the scroll new data coming into view on the grid displays the same as the last or first line (depending on which way I scroll) on my grid at time I clicked on the combo. Very soon everything looks the same. Hmmm, not good.
>
>If I click somewhere off the grid and then click the grid everything returns to normal and scroll works the way it should.
>
>Any ideas on what could possibly be going wrong.
>
>regards
>Geoff Scott

Does your combo use a different table or view for the RecordSource than the grid? Probably. Somewhere in your ComboBox, like maybe in it's LostFocus method, you could try setting the current table back to what the grid uses as it's RowSource.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform