>Yes, I see a way. It shouldn't be too complicated, either.
>
>As I said, with Project Hooks. Look at this sample code (that opens the files, for the currently active project), and adapt the corresponding commands, to check in / check out.
>
>Use method .CheckIn() instead of .Modify() - see help under "Project Manager Hooks". To check the SCC status, use property SCCStatus.
>
>Viele Grüsse, Hilmar.
>
>
>* The following commands modify all forms of the active project,
>* Except for VFX forms. Useful for a systematic review.
>
>clear
>FOR EACH oFile IN Application.ActiveProject.Files
> * For all forms, except, excepto vfx*.scx
> if oFile.Type = "K" and left(justfname(oFile.Name),3) # "vfx"
> * ? justfname(oFile.Name)
> oFile.Modify()
> endif
>ENDFOR
>
>#IF .F.
>Codes for types:
>d Database
>D Free Table
>Q Query
>K Form
>R Report
>B Label
>V Visual Class Library
>P Program
>L FLL
>Z APP
>M Menu
>T Text
>x Other
>#ENDIF
>
Hilmar,
this is a good solution for elements in a Project. But now update the Project itself?
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]