|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open a FoxPro DAT file?I know I've done this before, but what is the process to be able to open a
FoxPro .DAT file so that I can execute a SQL statement and generate a result set? Thanks In advance. "Thomas Malia" <tomma***@worldnet.att.net> wrote in message Search MSKB for "ADO FoxPro".news:ev81qRT5JHA.972@TK2MSFTNGP06.phx.gbl... >I know I've done this before, but what is the process to be able to open a >FoxPro .DAT file so that I can execute a SQL statement and generate a >result set? "Thomas Malia" <tomma***@worldnet.att.net> wrote in message ..DAT is a generic extension. What exactly does FoxPro use .DAT for? Not news:ev81qRT5JHA.972@TK2MSFTNGP06.phx.gbl... >I know I've done this before, but what is the process to be able to open a >FoxPro .DAT file so that I can execute a SQL statement and generate a >result set? data, I can tell you that. FoxPro stores its data in .DBFs. Ok,
Well, the "database" I'm actually working with is technically a mix mash of Froxpro and Sybase "Advantage" tables. I'm using an Advantage Database Tool to open the *.DAT files to be able to browse them and can even do some management. When I open these files in this tool I have to indicate if the file should be treated as an Advantage table or a FoxPro table. If I select FoxPro, the files open just fine. Show quoteHide quote "Jeff Johnson" <i.get@enough.spam> wrote in message news:OHzmhwT5JHA.1432@TK2MSFTNGP02.phx.gbl... > "Thomas Malia" <tomma***@worldnet.att.net> wrote in message > news:ev81qRT5JHA.972@TK2MSFTNGP06.phx.gbl... > >>I know I've done this before, but what is the process to be able to open a >>FoxPro .DAT file so that I can execute a SQL statement and generate a >>result set? > > .DAT is a generic extension. What exactly does FoxPro use .DAT for? Not > data, I can tell you that. FoxPro stores its data in .DBFs. > "Thomas Malia" <tomma***@worldnet.att.net> wrote in message See if this article helps:news:%23Xm9f0T5JHA.3476@TK2MSFTNGP05.phx.gbl... > Ok, > > Well, the "database" I'm actually working with is technically a mix mash > of Froxpro and Sybase "Advantage" tables. I'm using an Advantage Database > Tool to open the *.DAT files to be able to browse them and can even do > some management. When I open these files in this tool I have to indicate > if the file should be treated as an Advantage table or a FoxPro table. If > I select FoxPro, the files open just fine. HOW TO: Use Jet OLE DB Provider 4.0 to Connect to ISAM Databases http://support.microsoft.com/default.aspx?scid=kb;en-us;326548 See also:
How To Use Visual FoxPro Tables in Visual Basic http://support.microsoft.com/kb/161307 The above is using DAO. If you prefer to use ADO, then you have to use Foxpro OLE DB provider, or use Jet provider for ODBC, and tell it to use FoxPro ODBC driver. FoxPro ODBC driver is not included in ADO 2.6 and after according to this article: Visual FoxPro ODBC Driver not included in MDAC 2.6 and later http://support.microsoft.com/kb/277772/ INFO: Issues Migrating from DAO/Jet to ADO/Jet http://support.microsoft.com/kb/225048 Quote: "The third issue is that Jet 4.0 drops support for the FoxPro IISAM. Any FoxPro tables must be accessed through the FoxPro ODBC driver. If your Jet database uses linked FoxPro tables, and you convert to Jet 4.0, you will have to re-link them to use the FoxPro ODBC driver instead." This article may be helpful as well. It uses VBScript in ASP, which is easy to convert: How to use ADO with ASP to display Visual FoxPro data http://support.microsoft.com/kb/165492 "Nobody" <nob***@nobody.com> wrote in message This isn't a huge problem, since in my experience the VFPOLEDB driver runs news:u6FlUMU5JHA.480@TK2MSFTNGP06.phx.gbl... > Quote: "The third issue is that Jet 4.0 drops support for the FoxPro > IISAM. Any FoxPro tables must be accessed through the FoxPro ODBC driver. > If your Jet database uses linked FoxPro tables, and you convert to Jet > 4.0, you will have to re-link them to use the FoxPro ODBC driver instead." rings around Jet for DBFs.
When and where do I do Set m_FormVar = Nothing?
Serial Number PictureBox Scale Confusion WMI and WIN2003 Finding the biggest number out of 8 variables VB6 - Just In Time Error Message Help 100% quandry Print # vs .Savefile fso.Drives replacement The GPF in VB6 Environment is caused by: Call HtmlHelp(Me.hwnd, App.HelpFile, HH_CLOSE_ALL, 0&) |
|||||||||||||||||||||||