Re: ADOX - Access table creation with nullable columns.
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Fri, 9 Nov 2007 08:56:19 -0600
"Andy" <Andy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C7C7AC4C-53C0-47FB-BA07-E578F4F29AAA@xxxxxxxxxxxxxxxx
Yep, that code was my starting point!. See first post that opened thethread.
Repeated here for clarity :-
.....
m_pCol1.CreateInstance(__uuidof(ADOX::Column));
m_pCol1->Name = "Column 1";
m_pCol1->Type = ADOX::adVarWChar;
m_pCol1->DefinedSize = 24;
m_pCol1->Attributes = ADOX::adColNullable; \\Does this work?
m_pTable->Columns->Append(m_pCol1->Name, ADOX::adVarWChar, 24);
.....
Yeah, I see it NOW, like a bonfire.
[I consider myself a C programmer, but after too many years with VB and
dotNet, I'm not sure I could format a printf statement.]
So what's the question now? I thought the problem was because you were
getting errors trying to use a "Properties Collection" which doesn't support
what you were after. What else is blazing around me that I'm oblivious to.
<g>
-ralph
.
- Follow-Ups:
- References:
- Re: ADOX - Access table creation with nullable columns.
- From: Ralph
- Re: ADOX - Access table creation with nullable columns.
- From: Ralph
- Re: ADOX - Access table creation with nullable columns.
- From: Andy
- Re: ADOX - Access table creation with nullable columns.
- From: Ralph
- Re: ADOX - Access table creation with nullable columns.
- From: Ralph
- Re: ADOX - Access table creation with nullable columns.
- Prev by Date: Timeout expired (SqlClient.TdsParserStateObject.ReadSniError)
- Next by Date: Re: AbsolutePosition
- Previous by thread: Re: ADOX - Access table creation with nullable columns.
- Next by thread: Re: ADOX - Access table creation with nullable columns.
- Index(es):
Relevant Pages
|
|