Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
what about run again a select sql over the cursor (readwrite) just after the user delete a record ? You could use the same cursor name as query result and the only thing you should do is to redefine the grid controlsource....
>>>Hi everybody,
>>>
>>>If I delete records from the cursor which is source for the grid, the scrollbar now has a gap and could not be put at the top. Is there a way to fix this behavior or there is no way (as I found with filters)...
>>>
>>>What should I answer to the user who noticed this problem?
>>
>>Instead of using a filter, you can use a view. Using a filter on a Grid is slow, anyway. I heard rumors that this was improved in VFP 9, but I am not sure how trustworthy this is.
>>
>>A view will show you only the relevant records.
>>
>>If a user deletes a record in the view, you would probably still see the gap, until the next time the view is refreshed.
>
>My idea of selecting records to a temp file and inserting them back works quite nicely...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement