Hi Bill.
Here's some sample code off the top of my head:
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)
Doug