ADOX 2.8 doesn't seem to support setting nullable fields in access
- From: "Tim St.Clair" <tim_spam@xxxxxxxxxxxxxx>
- Date: Mon, 10 Oct 2005 16:12:50 +1000
In VB6:
Referencing ADOX 2.8
Dim cat As New ADOX.Catalog, col As ADOX.Column, tbl As New ADOX.Table
cat.Create ("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Temp\output.mdb")
tbl.Name = "Foo"
Set col = New ADOX.Column
col.Name = "something"
col.Type = ADOX.DataTypeEnum.adVarWChar
col.DefinedSize = 50
col.Attributes = adColNullable
tbl.Columns.Append col
cat.Tables.Append tbl
This doesn't work for me unless I remove the adColNullable attribute. ADOX
doesn't seem to support setting the column to allow null values. Any ideas
how to do this?
.
- Prev by Date: ado find problem
- Next by Date: Re: ADO table from a recordset
- Previous by thread: ado find problem
- Next by thread: Problem with primary keys.
- Index(es):
Relevant Pages
|
|