Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, bit of a strange one
Message
De
01/01/2002 20:27:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00599542
Message ID:
00599634
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform