>From the help file: * Close any open databases CLOSE DATABASES * Clear desktop to prepare for displaying the array CLEAR
* Open sample testdata database OPEN DATABASE (HOME(2) + 'Data\testdata') * Function call with cSetting for table names =ADBOBJECTS(gaTables, "TABLE") Gatables array should help, then use Steve's suggestion for afields. John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen the Cook Sent: Wednesday, April 11, 2007 7:28 PM To: 'ProFox Email List' Subject: RE: Difference in table structures? Justin Darnell <> wrote: > I need suggestion on comparing table structures in databases. Is > there a tool that does this? So, we have two similar databases, same > tables, but some tables have had changes. They weren't tracked > properly, now I need a diff of the tables in both databases. > > I know there has to be a pretty simple solution to this, but I've > never done it before. Agaisnt the raw tables you could just do a simple adir() and then afields() for each .dbf in the listing. Stephen Russell DBA / .Net Developer Memphis TN 38115 901.246-0159 "A good way to judge people is by observing how they treat those who can do them absolutely no good." ---Unknown http://spaces.msn.com/members/srussell/ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.2.0/756 - Release Date: 4/10/2007 10:44 PM [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]@shelbynet.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

