Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function for checking for changes in a writable cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00524334
Message ID:
00524347
Vues:
15
>>If I have a cursor, let's call it sklcurs, and the fields are bound to a number of controls on a form, is there a way to know if as few as one field's value has changed as a result of changing it in the form control it's bound to without writing a piece of code to each control?
>>
>>thanks in advance for the suggestions.
>>
>>JE
>
>If you're using a buffered table, compare the current field value to the OLDVAL().

Rereading your request, perhaps GETFLDSTATE() is more appropriate
IF "2" $ GETFLDSTATE(-1,"sklcurs")
  At Least One Field Has Changed
ENDIF
If you're looking at a new record, you'll look for a "4" in GETFLDSTATE(-1,"sklcurs")
Brien R. Givens

Brampwood Systems
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform