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:Posted 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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。