Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid with Ordered view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00210186
Message ID:
00210189
Vues:
40
>I'm having the following problem in VFP 5.0 and 6.0:
>
>I have set deleted on
>I have a grid with a view as RecordSource.
>The view has a local index and is 'used' with 'nodata'.
>
>In the form I have a command button that appends records to the view and refreshes the grid.
>I have another command button to delete records from the view (it also refreshes the grid).
>
>After inserting two records in the view (the grid is correctly refreshed each time), if I delete the second record, it doesn't disapear from the grid but it shows the delete mark. Even if I do something like :
>
>thisform.grid1.recordsource=thisform.grid1.recordsource
>thisform.grid1.refresh
>thisform.grid1.setfocus
>
>The deleted record still apears in the grid.

I've seen something like this - you can try

skip 1
skip -1

to "jog" the view...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform