Solved

Project Compare Program?

Posted on 2010-09-03
4
324 Views
Last Modified: 2012-05-10
Guys, does anyone know of a utility to compare two Foxpro project files?

Mostly, I am looking for an automated way to check to see the differences in file names in two products.
0
Comment
Question by:fmoore0001
  • 2
4 Comments
 
LVL 41

Expert Comment

by:pcelba
ID: 33594720
Projects are just DBF tables and you may create following query to check for filename differences:

USE Project1.PJX
USE Project2.PJX IN 0

SELECT LEFT(name, 80) FileName, type  FROM Project1 WHERE name NOT in (SELECT name FROM Project2)

SELECT LEFT(name, 80) FileName, type  FROM Project2 WHERE name NOT in (SELECT name FROM Project1)

If you are interested in filename without path, use JUSTFNAME() function:

SELECT LEFT(JUSTFNAME(name), 80) FileName, type  FROM Project2 WHERE name NOT in (SELECT JUSTFNAME(name) FROM Project1)

etc.
0
 
LVL 29

Accepted Solution

by:
Olaf Doschke earned 500 total points
ID: 33595271
...to see the differences in file names in two products....

Hmm, same names does not mean same version and perhaps even not same classes. Such a project comparison is of limited use. If you aim towards project source versioning, you can use Visual Source Safe with foxpro, which is outdated but would still work.

http://fox.wikis.com/wc.dll?Wiki~VisualSourcesafeIntegration

The general goal of a source versioning integration is to maintain a project and be able to work on it in a team of developers, also keep certain versions eg stable production, beta, development. All this without independant scattered copies but a central repository of the project files, which also holds information about who has checked out files for what reasons and what changes have been made for what reasons when the changes are check in again.

Bye, Olaf.
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 33595279
source code control is the general name, not source versioning, sorrry.
0
 

Author Closing Comment

by:fmoore0001
ID: 33623788
Thanks, Olaf.  This is the path we took.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now