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!!!
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only