Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect changes in buffered table or view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Detect changes in buffered table or view
Divers
Thread ID:
00304384
Message ID:
00304384
Vues:
54
I've got a buffered view (optomistic table buffering) in a grid. When the form is navigated, I want to prompt the user to update or revert any changes that have been made in the grid (all or nothing, not individual records), but only if something has changed.

Is there a function that can give me that status, or do I need to scan through and GETFLDSTATE() every row, like this:
scan
   for nFieldNum = 1 TO fcount()         
      if getfldstate(nFieldNum) = 2      
         lModified = .T.
         exit
      endif
   endfor
endscan
Peter Franz
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform