A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

GetOleDbSchemaTable(OleDbSchemaGuid.Columns,...



 
 
Thread Tools Display Modes
  #11  
Old January 23rd, 2009, 02:24 PM posted to microsoft.public.access.tablesdbdesign
Markus Ohlenroth
external usenet poster
 
Posts: 10
Default GetOleDbSchemaTable(OleDbSchemaGuid.Columns,...

thanks Stefan,
Yes, your links are what I needed.

In the refrence it says:
DBCOLUMNFLAGS Enumerated Type

Now I want do bitwise querying with the constants mentioned in the msdn
reference (Icolumnsinfo:getcolumninfo).

like eg. with
DBCOLUMNFLAGS_CACHEDEFERRED
or
DBCOLUMNFLAGS_ISFIXEDLENGTH


But I do not know how I can access these constants in my c# vs .net program?
through what class, library, namespace are these constants qualified?
Can you give me a hint?
thanks


wfg
Markus



"Stefan Hoffmann" wrote:

hi Markus,

Markus Ohlenroth wrote:
I work with visual studio, C# and read out metadata from access databases
via oledb

Now, your source gives me the clues I was missing, take a look at these:

http://msdn.microsoft.com/en-us/libr...52(VS.85).aspx

and

http://msdn.microsoft.com/en-us/libr...04(VS.85).aspx


mfG
-- stefan --

  #12  
Old January 23rd, 2009, 03:25 PM posted to microsoft.public.access.tablesdbdesign
Stefan Hoffmann
external usenet poster
 
Posts: 991
Default GetOleDbSchemaTable(OleDbSchemaGuid.Columns,...

hi Markus,

Markus Ohlenroth wrote:
But I do not know how I can access these constants in my c# vs .net program?
through what class, library, namespace are these constants qualified?

http://social.msdn.microsoft.com/Sea...SNULLABLE&ac=8
http://msdn.microsoft.com/en-us/library/ms716934.aspx

typedef DWORD DBCOLUMNFLAGS;
enum DBCOLUMNFLAGSENUM {
DBCOLUMNFLAGS_ISBOOKMARK,
DBCOLUMNFLAGS_MAYDEFER,
DBCOLUMNFLAGS_WRITE,
DBCOLUMNFLAGS_WRITEUNKNOWN,
DBCOLUMNFLAGS_ISFIXEDLENGTH,
DBCOLUMNFLAGS_ISNULLABLE,
DBCOLUMNFLAGS_MAYBENULL,
DBCOLUMNFLAGS_ISLONG,
DBCOLUMNFLAGS_ISROWID,
DBCOLUMNFLAGS_ISROWVER,
DBCOLUMNFLAGS_CACHEDEFERRED,
DBCOLUMNFLAGS_SCALEISNEGATIVE,
DBCOLUMNFLAGS_RESERVED,
DBCOLUMNFLAGS_ISROWURL,
DBCOLUMNFLAGS_ISDEFAULTSTREAM,
DBCOLUMNFLAGS_ISCOLLECTION,
DBCOLUMNFLAGS_ISSTREAM,
DBCOLUMNFLAGS_ISROWSET,
DBCOLUMNFLAGS_ISROW,
DBCOLUMNFLAGS_ROWSPECIFICCOLUMN
};
I'm not sure, it's C/C++, but this should translate to the 2^order for
the bit values. But you better ask in a more C/C++ specific newsgroup.

Can you give me a hint?

hmm, I can, show more patience will searching in the MSDN .)


mfG
-- stefan --
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.