Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid selection not reflecting record change
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00667054
Message ID:
00667430
Vues:
25
You're making changes in the same record, grid should be able to see them.

>What about when I am making changes to the textboxes, how will my grid see the changes? Is it then I would use the requery?
>
>Thanks
>Nick Patel
>
>>Why do you need to requery a view? Instead, put thisform.refresh in Grid.AfterRowColChange.
>>
>>Invoke this code only then you change rows (not columns).
>>
>>>I have a grid attached to a view and also text fields attached to a view. What I want to do is when I click on a record in the grid, I want my textboxes to show the selected record from the grid. I put the code in interactivechange as follows but the records are not changing in textbox, infact they are disappearing from the grid altogether:
>>>
>>>


>>>WITH thisform
>>> lc_id = lv_veh_assign.a_uniqueid
>>> REQUERY('lv_veh_assign')
>>> .refresh()
>>>endwith
>>><\p>
>>>
>>>Am I missing something here?
>>>
>>>Thanks
>>>Nick Patel

If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform