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
|
|
|