首页 > 代码库 > Allow Zero Length 允许空字符串 ACCESS

Allow Zero Length 允许空字符串 ACCESS

http://www.360doc.com/content/11/0118/20/991597_87447868.shtml

 

http://tec.liugens.com/html/sql/20071227/38157.html

 

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20510684.html

 Answer

 

by:hinnackPosted on 2003-02-12 at 07:58:51ID: 7934487

HI,
the only working way i know is using DAO!

dbengine = CreateOLEObject("DAO.DbEngine.36");
db = dbengine.OpenDatabase(‘db\extract.mdb‘);
db.TableDefs(tbl).Fields(clo).AllowZeroLength = True;
db.Close;

so use this for late-binding or import the type-lib.

As far as I know ther is no DDL Code nor a working ADOX function.

greetings

Hinnack

Allow Zero Length 允许空字符串 ACCESS