Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commit change for the current record in a grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00122663
Message ID:
00123011
Vues:
20
Thank you John, But remember my problem was not for deleting record but to find out which record is check for deleted. I fixed my problem by place some code in the click event.

local lnCurRec

select lvCiCust
lnCurRec = recno()
replace lvCiCust.lChech with !lvCiCust.lChech
go top
go lnCurRec


>After you delete the record, invoke the Refresh() Method of the Grid Control. Additonally, you might want to preserve the record number you were on - so that after the Refresh() occurs, you can positon the pointer on the next record.
>
>
>>I use a grid with a column that is a check box used for a selection of record. The user can check records and then click on delete. Change in a grid are committed only when you change record in the grid so when the user click on the grid I get only all of the record check except the last record the user check.
>>
>>How can I commit the change of the current record in a grid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform