ADOX: Extending a fixed length Jet string field length 
Author Message
 ADOX: Extending a fixed length Jet string field length

Is it required to drop the column and re-add it, or can this be done
by simply changing a property of the column.  When I modify the
DefinedSize property, it resulted in an error.  I think Access can
change this without changing the order position of columns.  Can that
be done through ADOX ?

--
______________________________________________________________________
Lee Gillie, CCP                                Remove NOSPAM to E-Mail
Online Data Processing, Inc. - 3501 N. Haven -  Spokane, WA 99207-8500



Sun, 17 Nov 2002 03:00:00 GMT  
 ADOX: Extending a fixed length Jet string field length
Yes, use the Alter DDL statement.  Char and Binary types can be lengthened

with ADOX.  The syntax is something like this:
Alter TABLE (tableName) Alter COLUMN (column name) Char (50).
Use Char, not WChar or VarWChar.
Dean Slindee

Quote:

> Is it required to drop the column and re-add it, or can this be done
> by simply changing a property of the column.  When I modify the
> DefinedSize property, it resulted in an error.  I think Access can
> change this without changing the order position of columns.  Can that
> be done through ADOX ?

> --
> ______________________________________________________________________
> Lee Gillie, CCP                                Remove NOSPAM to E-Mail
> Online Data Processing, Inc. - 3501 N. Haven -  Spokane, WA 99207-8500



Fri, 22 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. converting a varible length record to a fixed length rec

2. Newbie: creating a fixed-line-length file from a variable-line-length file

3. Passing fixed length string to API and is returning nulls in string

4. ADOX, Jet OLEDB:Allow Zero Length ERROR...

5. Extend length of drop-down field?

6. Change field length via Adox

7. ACC97: Fixed-length strings question

8. Fixed length string

9. fixed string length

10. fixed-length string in vb.net

11. Fixed length string

12. Array of Fixed Length Strings...

 

 
Powered by phpBB® Forum Software