Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffer error trying to set a validation rule
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00624630
Message ID:
00626008
Vues:
14
R. Matthew,

As in
REPLACE dateupdate WITH DATE() IIF(TABLEUPDATE(.T.),TABLEREVERT(.T.))
???

No, you are trying to do too much in one line of code. In your save code you can;
REPLACE dateupdate with Date()
IF NOT TableUpdate()
  TableRevert()
ENDIF
Of course you should be using all of the arguments for TableUpdate and TableRevert to prevent unexpected results (see the help file on those functions)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform