Click here to Skip to main content
16,005,241 members
Home / Discussions / Database
   

Database

 
GeneralODBC - Microsoft SQL server Pin
Wizard_0123-Apr-02 5:10
Wizard_0123-Apr-02 5:10 
GeneralRe: ODBC - Microsoft SQL server Pin
Andres Manggini26-Apr-02 16:05
Andres Manggini26-Apr-02 16:05 
QuestionHow to write Access modules? Pin
Alvaro Mendez22-Apr-02 12:00
Alvaro Mendez22-Apr-02 12:00 
AnswerRe: How to write Access modules? Pin
Nick Parker23-Apr-02 3:02
protectorNick Parker23-Apr-02 3:02 
GeneralRe: How to write Access modules? Pin
Alvaro Mendez23-Apr-02 9:50
Alvaro Mendez23-Apr-02 9:50 
GeneralRe: How to write Access modules? Pin
Nick Parker25-Apr-02 7:24
protectorNick Parker25-Apr-02 7:24 
GeneralReturn Recorset* variable Pin
streetsl22-Apr-02 2:42
streetsl22-Apr-02 2:42 
GeneralRe: Return Recorset* variable Pin
Philip Patrick2-May-02 10:31
professionalPhilip Patrick2-May-02 10:31 
Cannot help you with .NET, but I know how to do it in VS6 Smile | :) Maybe it can help you.
Actually you need to return a VARIANT, so other languages, like VB or VBScript can use it also. The code will look like this:
HRESULT GetRecordest(VARIANT * pResult){
  ....
  <font color=green>//build your recordset here</font>
  ...
  pResult->vt = VT_DISPATCH;
  pResult->pdispVal = (IDispatch*)piRecordset;

  return S_OK;
}



Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer

Need Web-based database administrator? You already have it!
GeneralTable setup question Pin
Joe Woodbury21-Apr-02 6:27
professionalJoe Woodbury21-Apr-02 6:27 
GeneralSQL Virgin Pin
alex.barylski20-Apr-02 20:50
alex.barylski20-Apr-02 20:50 
GeneralRe: SQL Virgin Pin
Mazdak21-Apr-02 3:22
Mazdak21-Apr-02 3:22 
GeneralRe: SQL Virgin Pin
alex.barylski21-Apr-02 11:01
alex.barylski21-Apr-02 11:01 
GeneralRe: SQL Virgin Pin
alex.barylski21-Apr-02 11:05
alex.barylski21-Apr-02 11:05 
GeneralRe: SQL Virgin Pin
Mazdak21-Apr-02 19:27
Mazdak21-Apr-02 19:27 
GeneralRe: SQL Virgin Pin
Tom Archer30-Apr-02 23:41
Tom Archer30-Apr-02 23:41 
GeneralRe: SQL Virgin Pin
Mazdak1-May-02 0:29
Mazdak1-May-02 0:29 
GeneralRe: SQL Virgin Pin
Nick Parker2-May-02 16:43
protectorNick Parker2-May-02 16:43 
GeneralRe: SQL Virgin Pin
alex.barylski9-May-02 12:10
alex.barylski9-May-02 12:10 
GeneralADO and the DataGrid Pin
soup18-Apr-02 23:07
soup18-Apr-02 23:07 
GeneralWinNT(4) Service with Database connectivity Pin
Dels18-Apr-02 14:09
Dels18-Apr-02 14:09 
GeneralDataSet and MoveNext problem Pin
17-Apr-02 10:35
suss17-Apr-02 10:35 
GeneralRe: DataSet and MoveNext problem Pin
Mike Nordell17-Apr-02 10:49
Mike Nordell17-Apr-02 10:49 
GeneralRe: DataSet and MoveNext problem Pin
17-Apr-02 11:26
suss17-Apr-02 11:26 
GeneralRe: DataSet and MoveNext problem Pin
Mike Nordell17-Apr-02 12:16
Mike Nordell17-Apr-02 12:16 
GeneralRe: DataSet and MoveNext problem Pin
18-Apr-02 4:15
suss18-Apr-02 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.