Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a last modified field.
Message
De
26/11/1997 14:47:36
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Creating a last modified field.
Divers
Thread ID:
00062468
Message ID:
00062468
Vues:
70
I am using VFP5 and would like to create a last modiied field in my tables. All of the tables
reside in a Database.

I created a field called "lastmod" and call an update trigger from the tables properties to up
the "lastmod" field in this table. However when I try to call this code I get a
"Cannot Update Cursor" error message. Here is what I try to do;

SELECT thistable
REPLACE thistable.lastmod WITH DATETIME()

Can a table update one of it's fields from it's update trigger?

I can update a different table from a DBC's stored procedure but not the calling table's fields

Is this what I'll have to do?

Thanks,

Jerry Tovar
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform