Click here to Skip to main content
15,893,486 members
Articles / Programming Languages / SQL

Excel user defined functions unlimited

Rate me:
Please Sign up or sign in to vote.
4.81/5 (15 votes)
30 Nov 200619 min read 223.2K   5.7K   77  
Describes how to return tables of values as the result of user defined functions (UDF) in Excel.
/***********************************************************************
 * Module:  TSgADODataSet.h
 * Author:  000667
 * Created: Montag, 4. November 2002 10:57:08
 * Modified: Montag, 4. Oktober 2004 13:29:16
 * Purpose: Declaration of the class TSgADODataSet
 * Comment: TADODataSet as Singleton class
 ***********************************************************************/

#if !defined(TSgADODataSet_h)
#define TSgADODataSet_h

#include "TSgADOConnection.h"


class TSgADODataSet
{
public:
	static AdoNS::_RecordsetPtr  getInstance(void);
   void  deleteInstance(void);

protected:
private:
   TSgADODataSet();
   TSgADODataSet(const TSgADODataSet& oldTSgADODataSet);
   void  operator=(TSgADODataSet& tdbquery);

   static AdoNS::_RecordsetPtr _db_dataset;

};


#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions