Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read data tables in DBVisualizer
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,

Could someone please tell me how can I read tables in DBVisualizer. Also I am having hard time creating a connection string. Please look at the attached image to help me with creating a connection string.

Thanks,
Sqadri


Attached Files Image(s)
   
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,

U can use the below code, it might help u.


Code:
Function GetDataFromBase(DNS,UID,PWD,QUERY)

    Set MyConnection = CreateObject("ADODB.Connection")
    Set myrecordset = CreateObject("ADODB.recordset")

    MyConnection.ConnectionString ="DSN=" & DNS  & "; UID=" & UID & ";PWD=" & PWD

    MyConnection.Open
    Set myrecordset = MyConnection.Execute(QUERY)
    GetDataFromBase = myrecordset(0)
    MyConnection.Close

End Function


Let me know if this is helpful 2 u.

Regards,
Sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,317 07-10-2017, 04:20 PM
Last Post: rajeevk7
  Unable to read the data from excel file attiliv 1 3,004 03-26-2013, 08:02 AM
Last Post: sams001
  Web tables dineshreddymca 3 4,496 03-15-2013, 07:02 AM
Last Post: basanth27
  How to Read Encrypted Data from SQL DB? lagunascorpio 1 2,478 05-31-2012, 03:20 AM
Last Post: lagunascorpio
  How to launch DBVisualizer and then execute SQL queries sqadri 0 3,480 02-28-2012, 04:58 AM
Last Post: sqadri

Forum Jump:


Users browsing this thread: 1 Guest(s)