Home » Other » General » oracle-foxpro
oracle-foxpro [message #104561] Sun, 28 November 2004 23:09
Kumar
Messages: 115
Registered: December 1998
Senior Member
public con
public res

con=CreateObject('adodb.connection')
con.open("vfporacle","","")

res=createobject('adodb.recordset')
res.open("select * from employees",con)

res.movefirst()
form1.text1.value=res.fields(0).value
form1.text2.value=res.fields(1).value
form1.text3.value=res.fields(2).value

res.movenext()
form1.text1.value=res.fields(0).value
form1.text2.value=res.fields(1).value
form1.text3.value=res.fields(2).value

 
Previous Topic: Urgent:can I install 8i and 9i in single server?
Next Topic: Version comparision 7 8 9 10g
Goto Forum:
  


Current Time: Sat Dec 28 13:07:39 CST 2024