Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RDO and Binding Select Statments

Status
Not open for further replies.

campbere

Technical User
Oct 10, 2000
146
US
I have been using RDO in my VB 6 application to query the database. I would like to learn how to bind these statements. Does anyone have any information on binding and how to do that in RDO statements?

I am using VB 6, and Oracle 8i.

For example if I have this I want to know how to bind it, and what are the benefits? Someone had told me I should look into it to improve performance.

sqlMaxTest = "SELECT prod_id, product_name " _
& " FROM PRODUCT " _
& " WHERE prod_id = '" & frmprod.prodid.text & "' " _
& " AND model = '" & frmprod.model.text & "' "

Set RSMaxTest = DB.OpenResultset(sqlMaxTest, rdOpenKeyset, rdConcurRowver)

Thank you for any information you are able to provide.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top