Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Fernando Bozzo
  Where is Fernando Bozzo?
 Madrid
 Spain
 Fernando Bozzo
 To: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 Tags
Subject: RE: How does SCX TimeStamp get computed?
Thread ID: 416100 Message ID: 416108 # Views: 52 # Ratings: 2
Version: Visual FoxPro 9 Category: Forms
Date: Sunday, December 21, 2014 9:08:48 PM         
   


> Foxites,
>
> I want to have some version control for the objects in my form and
> I thought it best to use the timestamp and code in the SCX as the reference.
>
> What I figure on doing is have the main.prg of MyProject, do a COPY FILE
> of the SCX into MyProjectFormBackUp.DBF.
>
> Then I would use this new file to extract the code and timestamp information
> from the copied SCX.  Is this procedure safe and sound practice?
>
> And I can't figure out how SCX calculates the TimeStamp.  It looks like the timestamp
> is based on the form's creation Datetime. It also appears the TimeStamp for the Data Environment
> object remains constant and the Form object is timestamped with every new save of the form. 
> Any control that is changed in the current design time session gets a new timestamp.
>
> Appreciate the help.  Dan B.

Hi Dan:

What you are describing here is a "home made" version control on which you just can know when an object have changed and do a manual backup of the component.

Why not use "real" source control, on which you can know "when" a component have changed, "what" exact code have changed and have an automatic snapshot of the component over the time, so you can select the "today" version of your component or the "past monday" version, between other benefits?

You have many choices to select, going for something "home made" is, I think, loosing time.


Fernando D. Bozzo

ENTIRE THREAD

How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/21/2014 4:37:08 PM
RE: How does SCX TimeStamp get computed? Posted by Pete Sass @ 12/21/2014 6:59:56 PM
RE: How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/21/2014 11:41:09 PM
RE: How does SCX TimeStamp get computed? Posted by Pete Sass @ 12/22/2014 12:09:50 AM
RE: How does SCX TimeStamp get computed? Posted by Fernando Bozzo @ 12/21/2014 9:08:48 PM
RE: How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/22/2014 12:45:44 AM
RE: How does SCX TimeStamp get computed? Posted by Greg Green @ 12/21/2014 9:19:59 PM
RE: How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/22/2014 12:52:17 AM
RE: How does SCX TimeStamp get computed? Posted by Greg Green @ 12/22/2014 7:44:39 AM
RE: How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/23/2014 12:11:44 AM
RE: How does SCX TimeStamp get computed? Posted by Jun Tangunan @ 12/22/2014 12:54:11 AM
RE: How does SCX TimeStamp get computed? Posted by Mustapha Bihmouten @ 12/22/2014 2:59:24 PM
RE: How does SCX TimeStamp get computed? Posted by Dan Baker @ 12/22/2014 3:10:42 PM