devxlogo

Binding a Data Control to a Returned Recordset

Binding a Data Control to a Returned Recordset

Question:
Is there a way to pass a recordset from an OLE server to anOLE client? I suspect so. Can we bind thepassed recordset to a client data control? Seems thatMS wants us to maintain ODBC & SQL*NET onhundreds of clients. Not exactly our idea of a goodtime.

Answer:
The Recordset property of the DataControl under version 4 can be set, which is a change from version 3. That means you can tie to your OLE server, return a recordset, and hook it up to your data control. It gives you the best of both worlds.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist