Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting from a grid?
Message
De
13/06/2004 18:09:13
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00913250
Message ID:
00913275
Vues:
18
I am getting closer. I had to make my cursor READWRITE. My problem now is that it deletes from the grid, but when I go back in and view it, the deleted record is still there. Here is my cursor in the init even of the form:

SELE recno, paynum, invno, custno, invdate, type, refno, applied from cashtemp ;
INTO CURSOR curCustWithCash READWRITE where custno = currentcustno
CURSORSETPROP("Buffering",5)
thisform.grid1.RecordSource = "curCustWithCash"

Here is the code I out in that you recommended:

If Messagebox(.....
Deelte
Tableupdate()
This.parent.parent.Refresh
Endif

Thanks for the help - I am almost there.

Randy Wessels
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform