Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project Hook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Project Hook
Divers
Thread ID:
00287245
Message ID:
00287245
Vues:
58
Hi All!

We're using a Projecthook class in our project, and we like the know if a file as been modified. The trick we'd try was :

in querymodify method

NODEFAULT
Get date/time of file
ask for check out (source safe)
MODI FORM (ofile.name) NOWAIT SAVE
See if date/time different
If so, trace it in a dbf file and other stuff (version update)
RETURN .F. && so the project manager dont modify it as usual..


This work fine until we like the find someting (CTRL-F). The clause dont close the form editing, but the code coutinue so the date/time is the same. If we remove the SAVE option, the editing is automaticaly closed. Any suggestion !!!


Thank you all!!!
Répondre
Fil
Voir

Click here to load this message in the networking platform