Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Checkpoint
#3
Not Solved
Thanks,

I wrote a function for database connection and select query, but i can't retrieve data from the function. if u know the way please let me know... thanks.


my function



Code:
Function ConnectDatabase()
dim Cnxn,strCnxn
dim rsCus,strSQL

    set Cnxn = CreateObject("ADODB.Connection")
    set rsCus = CreateObject("ADODB.RecordSet")

strCnxn ="DRIVER={Microsoft ODBC for Oracle};UID=amilar12;PWD=mypass;SERVER=TEST_DB_DOMAIN.ORG"
    
    Cnxn.Open strCnxn
    msgbox "connect"


strSQL ="select  *  FROM aa_mgr.jms_messages "

rsCus.Open strSQL,Cnxn

end function


Regards,
Amila
Reply


Messages In This Thread
Database Checkpoint - by amilar - 01-13-2009, 12:03 PM
RE: Database Checkpoint - by Jackomcnabb - 01-20-2009, 12:18 AM
RE: Database Checkpoint - by amilar - 01-20-2009, 04:32 PM
RE: Database Checkpoint - by Jackomcnabb - 01-20-2009, 09:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Database CheckPoint Luanna 1 1,931 01-21-2014, 02:27 PM
Last Post: Luanna
  How do I create a database checkpoint to validate data from xls NewAtQTP 0 2,534 02-25-2011, 05:18 PM
Last Post: NewAtQTP
Wink standard checkpoint and text checkpoint kiran10_rm 1 5,363 11-18-2010, 05:16 AM
Last Post: nandu
  fullscreen and bitmap checkpoint error "Cannot create bitmap checkpoint" meuline 2 4,722 12-10-2009, 09:17 PM
Last Post: meuline
  Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! IdontGetIt 1 3,921 11-20-2009, 11:45 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 2 Guest(s)