Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

link 2 csv files & open as recordset

Status
Not open for further replies.

charlotte49er

Programmer
Nov 17, 2001
25
US
I'm trying to write an asp page that uses Jet to open two csv files. I'm trying several variations but haven't had any luck. Has anyone been able to successfully do this?

Code:
	oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
          "Data Source=" & strPathtoTextFile & ";" & _
          "Extended Properties=""text;HDR=YES;FMT=Delimited"""
	Dim strQuery
	strQuery = "SELECT * FROM ([rvf_newformat#txt]rvf_newformat,[rvf_elevation#txt]rvf_elevation WHERE rvf_newformat.SITECODE = rvf_elevation.SITECODE)"
	oRs.Open strQuery, oConn, adOpenStatic, adLockOptimistic, adCmdText
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top