W wsj197987 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-10 #1 请各位高手帮帮忙,在Delphi中创建Access数据库文件,我知道如何创建,但在C++Builder中如何创建呢? 我的E_Mail地址是wsj197987@163.com
飘 飘摇客 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-10 #2 应该和Delphi中没有什么区别啊,下面的不行吗? procedure TDM.CreateMDB(DBName: string); var CreateAccess: OleVariant; begin CreateAccess := CreateOleObject('ADOX.Catalog'); CreateAccess.Create('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' + DBName); end;
应该和Delphi中没有什么区别啊,下面的不行吗? procedure TDM.CreateMDB(DBName: string); var CreateAccess: OleVariant; begin CreateAccess := CreateOleObject('ADOX.Catalog'); CreateAccess.Create('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' + DBName); end;
特 特尔斐 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-10 #3 应该一样的吧 建立ACCESS的APPLICATION对象或创建DAO的DBENGINE来创建都可以的。
L ldaan3 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-10 #6 create table [an] (a1 integer, a2 char)