The best way to do this is to use the dBase ODBC driver. You can use SQL passthrough commands, create a remote view, or use a CursorAdapter. I do this all the time and it works great.
It lets you do just about anything with a dBASE file, including full support for indexes and memos. Not particular cheap, but it's a solid product with a long history.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
lnHandle = sqlstringconnect('driver=Microsoft dBase Driver (*.dbf);dbq=C:\Location of DBF Files')
if lnHandle < 0
* handle error
return
endif
lnResult = sqlexec(lnHandle, 'select * from SomeTable where SomeClause', 'DesiredCursorName')
if lnResult = 1
* do something with the cursor
endif
sqldisconnect(lnHandle)
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.