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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Foxpro connection

Status
Not open for further replies.

pinkys

IS-IT--Management
May 10, 2001
1
GB
I have a database written in FoxPro 2.5 (not by me) which uses Word for generating letters etc. Having just upgraded an old machine to Win98 and thus have also updated ODBC the connection no longer works.
The ODBC driver used under 98 is Visual FoxPro so I have created a USER DSN called "Foxpro files" selecting the "free table directory" option.
Now when word starts the mail merge it seems to get the data but then a dialoge box pops up asking me to select field and record delimiters. This doesn't seem like correct behaviour to me! If I cancel the dialoge and debug, I get the following debug info.

WordBasic.MailMergeOpenDataSource Name:="C:\TEMP\MERGEWD.DBF", Connection:="DSN = FoxPro Files; DBQ = C:\TEMP; FIL = FoxPro 2.5", SQLStatement:="SELECT * FROM MERGEWD.DBF", Revert:=0


I feel I am missing soemthing obvious here. Please advise if this should be posted elsewhere.

Cheers

Nick B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top