Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP and SourceSafe..

Status
Not open for further replies.

Neil Toulouse

Programmer
Mar 18, 2002
882
GB
Hi folks!

I have just been going through the files for my project on SourceSafe and have noticed that for most (but not all) there are additional files that I would guess are not VFP but maybe something to do with SourceSafe?

For most forms (SCT/SCX) there is also a SCA file.
(eg FORM1.SCT, FORM1.SCX and FORM1.SCA)

For most reports (FRT/FRX) there is also a FRA file.
(eg REPORT1.FRT, REPORT1.FRX and REPORT1.FRA)

For most classes (VCT/VCX) there is also a VCA file.
(eg CLASS1.VCT, CLASS1.VCX and CLASS1.VCA)

...but there is no corresponding '??A' for Programs, .BMPs, etc (ie single-file files as it were).

What are they? Are they needed or can they be deleted?

Neil "I love work. I could sit and stare at it for hours..."
 
Just a guess, but they are probably archived versions of your originals, ones that can't be used without being checked out first. The folks in the VSS forum would probably be able to answer better though.
Dave S.
 
FatSlug

What are they? Are they needed or can they be deleted?

Since there isn't a specific forum for SourceSafe here, you may want to contact them directly and ask, but the "A" is theirs. Mike Gagnon
 
Thanks guys, I'll check it out! "I love work. I could sit and stare at it for hours..."
 
Neil,
These "A" files are generated by SCCTEXT.PRG - it converts the table based components (forms, classlibs, menus, reports, labels, etc.) to a "consistent" all text file. This allows VSS to compare your version charges in these kinds of files. Note: The default version of SCCTEXT.PRG that comes with VFP, is lacking some features that a few of us have "fixed" to give a better compare. For the latest update, go to the UT ( click on the Downloads picture on the left, choose Visual FoxPro. Right now it's not too far down the list of current files, but you can also enter 14436 into the ID field and get it from there.

Rick
 
By default, _SCCTEXT contains Scctext.prg, a Visual FoxPro conversion program that handles translating Visual FoxPro binary files into text equivalents and back. These text files are used as the basis for comparing and merging versions of Visual FoxPro binary files through a source control application.

the documentation in source safe says that to compare the non textfile, thay are converted through this program, for this comparison. Attitude is Everything
 
I did a scan on my system and the only files that show up with this extension are files that are under source safe. Yes the sca is registered on my system as a norton file. But, I just got a new system and Norton has been turned off since I started. Attitude is Everything
 
Hi Rick!

Thanks for your input.

I am still a little confused though! When I am editing say, a form, should I also check out the SCA file so that it can be written to, or doesnt't it matter?

At what point does the conversion take place?

Neil "I love work. I could sit and stare at it for hours..."
 
or doesnt't it matter?

it doesn't matter. Attitude is Everything
 
Neil,
VFP handles the "A" files automatically. A new version of the "A" file is created when you check one of the "tabled" files back in through VFP. This won't happen if you use VSS directly.

Rick
 
Hi Guys!

Thanks for all your input on this. Have been away from the Internet for a while so have missed the growth in this thread.

So just to clarify, the 'A' file is created when the form, etc is checked back in to VSS (hence no need to check out the 'A' file), but if I check files in via VSS bypassing VFP (which I have done in the past) then the 'A' file is not generated, hence the reason why only some of the files have their 'A' counterpart (other than those where there isn't one anyway, eg bmp).

Have I got this correct? "I love work. I could sit and stare at it for hours..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top