Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection string issue with MS access
#4
Solved: 10 Years, 10 Months, 1 Week ago
Hi pavan

I followed this code

Code:
Set con = CreateObject("adodb.connection")
Set rs = CreateObject("adodb.recordset")

con.open "Provider=my query string"
rs.open "sql query ",con
i=0
do until rs<>eof
dim arr
arr(i)=rs("Columnname").value

i=i+1

rs.movenext

loop
.

my scenario is i want to connect database and from one table 's column 's value fetch and save in excel sheet or datatable.

ex.form employee table i want to fetch First name column's values in excel r datatable.

pls help
Reply


Messages In This Thread
RE: Connection string issue with MS access - by 1981.madhu@gmail.com - 11-20-2009, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] Connection String for Oracle robertosalemi 6 11,811 01-15-2016, 04:51 PM
Last Post: robertosalemi
  DB2 Connect connection with IE 11 SRP 1 2,428 12-18-2015, 12:41 PM
Last Post: vinod123
  IBM DB2 connection with VB script bmurali 2 10,524 12-18-2015, 12:38 PM
Last Post: vinod123
  Connection with HP ALM hachem 0 2,425 02-26-2015, 04:36 PM
Last Post: hachem
  “Cannot connect to 8822 (connection timed out)" Ikbal 0 2,005 12-08-2014, 11:38 PM
Last Post: Ikbal

Forum Jump:


Users browsing this thread: 1 Guest(s)