dispalying record from database
-
i have an oracle database and i have a combobox and two edit controls.i want to display record from table into the combobox and the two edit box using CRecordset.how can i do it
-
i have an oracle database and i have a combobox and two edit controls.i want to display record from table into the combobox and the two edit box using CRecordset.how can i do it
You use a combination of CDatabase and CRecordset objects, with a data source (DSN) on your machine. Basically, the CDatabase connects to the data source by it's name, and then a CRecordset object is created. You then write a query with the recordset, and execute it. When done, the recordset object contains the results of the query. See the MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.
-
You use a combination of CDatabase and CRecordset objects, with a data source (DSN) on your machine. Basically, the CDatabase connects to the data source by it's name, and then a CRecordset object is created. You then write a query with the recordset, and execute it. When done, the recordset object contains the results of the query. See the MSDN for more information. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.
As a reply to your e-mail: unfortunately no, I cannot code these things for you, I am too busy with my own projects to take on this type of a task. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.