Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Deleted On does not work properly with RVs on Grids.
Message
 
À
20/05/2002 07:15:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00658791
Message ID:
00659200
Vues:
33
Ok. There is a little change of behaviour. The problem only occurs when deleting the LAST ROW in the Grid. Deleting other records works properly.

>>Using Remote Views, Set Deleted On doesn't to seem work properly on Grids. Here is the scenario:
>>
>>I have a grid that uses RV as recordsource. The RV is buffered. Using command buttons, I do Inserts and deletes. No problem with Inserts. However, deleting a record, Skip, and then Refresh... the record is still displayed in the grid. Only upon issuing TableUpdate gives the expected behaviour. Am I missing something here?
>
>Two possible problems occur to me:
>
>
  • SET DELETED ON is scoped to the current datasession. Try issuing SET DELETED ON in the current form.
    >
  • DELETE, just like doing any other change, should be followed by TableUpdate(). Otherwise, the change (deleting the record, in this case) isn't comitted to disk.
    >
    >HTH, Hilmar.
    JESS S. BANAGA
    Project Leader - SDD division
    ...shifting from VFP to C#.Net

    CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform