Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Refresh problem
Message
De
28/05/1998 02:50:30
 
 
À
27/05/1998 11:49:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00101877
Message ID:
00102635
Vues:
29
>My setting focus to the grid after adding an item has solved apart of my
>problem, however when I delete an item the problem stillpersists. Let me elaborate - I'm using a grid recordsource - child table( form optimistic buffering, private data session ). I'm usingcmdbuttons for adding/deleting items. Now when I add a new item &then press the delete button the item is still displayed in the grid( I'm setting some default values ). I think that as this is the lastrow in the grid on refreshing only take place to the row above asthis record has been deleted! What I think I need is a method tototally blank out the grid and refresh it!Any ideas will be greatly be appreciated as I've not been able tocreate a one-to-many entry form.Thanks in AdvanceSonali

If you delete a item but record pointer remains on it, it doesn't disappears, like in a browse window. You can move the record pointer for instance issuing 'locate' or 'go bottom' or 'go top' after the delete command.
I think that remain viewing the deleted record is a good thing, as you can recall it from the deleted mark in the grid.

Other method can be set deleted off, set deleted on.

If you still want to totally repaint the grid, you can leave the recordsource property = "" and then again set it to the alias. But i think this is never necesary.
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform