Hello all,
Do you have any ideas of how to updating records in the
DBF file from vb, I have never work with dbf file extension before. Please guide me. Thanks much for your help.
Simplest way is to create an ODBC DSN to the directory of where the DBF's are (Settings>Control Panel>(Administrative Tasks)>Create ODBC Data Source, Using the MS VFP Driver, Using a "Free Table Directory" and then use the data form wizard to create you an example.
rnathan,
Thanks for your sample code. It works but I ran into a date problem, I have a recordset that get the date field from the dbf file, but when my recordset returns, the date field changes to time and i dont know why it does that. any idea. Thanks CL
Set the date value to null if you really don't have any dates in the date field. And also in FoxPro, open the database, go to Tools->Options->Regional tab, for Date and Time, you may want to set Seconds check box to off.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.