Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When the record was really changed?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01035985
Message ID:
01036090
Vues:
11
>>>>Nice idea, but would not work in our case. In our case we calculate Primary Key before hand. How can you exclude a field from the checksum?
>>>
>>>Why would you change Primary Key on update?
>>
>>In this case I was talking about Insert. Of course, we would not touch this field in update < g >
>
>On insert there's no previous record to compare to.

Right. Haven't thought about it. I think, I need to check, if biz object NewAndEmpty() method is working correctly. If the record is new and empty, it means, it was not changed and doesn't have to be saved or validated. We're not saving new empty records.


How do you test, if the new record was not changed?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform