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
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