Massilia Guest
|
Posted: Sat Aug 28, 2004 8:09 pm Post subject: TDataset -> _RecordSet |
|
|
Hi all,
I have a little question, I hope someone will be able to help me.
First, I must point out that I am not really an expert in databse, as you
will see further :)
We have a delphi 4 app, using a commercial set of components (S.DAC) to
access a SQL Server database.
For example, one of the components is a TSPQuery derived from TDataSet.
The app is working like a charm since months.
Now we are trying to build an activex dll to use our app features from ASP
and a browser..
1. We managed to build a dll that have a function that returns a
_recordSet -> but, on the other hand, we have a TdataSet type as a result of
our query. We can't figure out how to "convert" from dataset to recordset
(if such a thing is possible)
2. We tried to have the function returning a TDataSet -> no luck
Before rewriting a significant part of the code, using ADO instead of our
commercial component, we would like to be sure that we don't miss a simple
way to do what we want.
Maybe my question is stupid, as I don't know anything (for the moment), to
ADO, OLEDB, and so on.
If so, I humbly apologize ;)
Cheers,
Massilia
|
|