ADOX copy database
- From: "will f" <null@xxxxxxxxxx>
- Date: Wed, 21 Sep 2005 11:17:48 -0400
Greetings,
I have a procedure that takes an existing Access database and makes a copy
of it (structure only) using ADOX. However, I have the following problems
with the copy:
AutoNumber fields in the original MDB file become plain old Numeric fields
in the copy.
The columns lose their default value property that was present in the
original MDB file.
Text fields are all Required, where they were not in the original MDB file.
In my procedure, I create Table, Column, Index and Key objects. When I try
to use the Properties collection of the ADOX.Column objects such as
"default", etc., I get errors indicating that the item is not found in the
collection.
Does anyone know of problems in carrying over default values and
auto-increment fields from a source to a copy database using ADOX? Is there
some special way I need to handle appending the columns to tables? Is there
a special index or key I need to append or modify?
Please help.
Thanks.
- will f
.
- Prev by Date: Re: ADO vs. Progress Bar
- Next by Date: Re: Error accessing Oracle date fields
- Previous by thread: Re: ADO vs. Progress Bar
- Next by thread: Permissions???
- Index(es):
Relevant Pages
|
|