Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages
Started by Stefano Tempesta
Fri, 23 Feb 2001 16:23
Creating an MS Access 2000 database at runtime
Author: Stefano Tempesta
Date: Fri, 23 Feb 2001 16:23
Date: Fri, 23 Feb 2001 16:23
10 lines
998 bytes
998 bytes
How to create an MS Access 2000 database at runtime (with all tables) , please? Thanks in advance. -- __________________ Stefano Tempesta [Real Training] stefano@tempesta.org http://www.tempesta.org
Re: Creating an MS Access 2000 database at runtime
Author: Jerry Bloomfield (TeamB)
Date: Mon, 26 Feb 2001 04:16
Date: Mon, 26 Feb 2001 04:16
14 lines
1391 bytes
1391 bytes
On Fri, 23 Feb 2001 17:23:28 +0100, "Stefano Tempesta" <s.tempesta@usa.net> wrote: >How to create an MS Access 2000 database at runtime (with all tables) , >please? You can use the SQLConfigDataSource() call of the ODBC API, ut I am not sure of its counterpart for OLEDB or ADO... Jerry Bloomfield (TeamB) -- http://www.teamb.com JersWork@wwa.com Please do *NOT* send private e-mail without prior permission (my anti-spam filters will probably just delete it anyway <g>)
Re: Creating an MS Access 2000 database at runtime
Author: ziggurat
Date: Tue, 27 Feb 2001 08:53
Date: Tue, 27 Feb 2001 08:53
100 lines
4418 bytes
4418 bytes
This is a multi-part message in MIME format.
------=_NextPart_000_0057_01C0A0AB.95D770F0
Content-Type: text/plain;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
You can not do that with ADO but with DAO.
I dont know BC++Builder yet , but with VC++, you can code like this;
Regards,
bulentozkir@hotmail.com
CDaoDatabase daodb; =20
CString szdbPath =3D "C:\\temp\\ziggurat.mdb";
try
{
daodb.Create(szdbPath,dbLangGeneral); //by default it will take =
the latest ver3.0
}
catch ( CException* e)
{
e->ReportError();
e->Delete();
}=20
"Stefano Tempesta" <s.tempesta@usa.net> wrote in message =
news:3a968e5c_2@dnews...
> How to create an MS Access 2000 database at runtime (with all tables) =
,
> please?
> Thanks in advance.
>=20
> --
> __________________
> Stefano Tempesta
> [Real Training]
> stefano@tempesta.org
> http://www.tempesta.org
>=20
>=20
------=_NextPart_000_0057_01C0A0AB.95D770F0
Content-Type: text/html;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-9">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>You can not do that with ADO but with=20
DAO.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I dont know BC++Builder yet , but with =
VC++, you=20
can code like this;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>bulentozkir@hotmail.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>
<P><FONT face=3DArial size=3D2><STRONG>CDaoDatabase daodb;=20
</STRONG></FONT></P>
<P><FONT face=3DArial size=3D2><STRONG>CString szdbPath =3D=20
"C:\\temp\\ziggurat.mdb";<BR>try<BR>{<BR> &n=
bsp;=20
daodb.Create(szdbPath,dbLangGeneral); //by default it will take =
the latest=20
ver3.0<BR>}<BR>catch ( CException*=20
e)<BR>{<BR>e->ReportError();<BR>e->Delete();<BR>}</STRONG>=20
</FONT></P></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Stefano Tempesta" <</FONT><A=20
href=3D"mailto:s.tempesta@usa.net"><FONT face=3DArial=20
size=3D2>s.tempesta@usa.net</FONT></A><FONT face=3DArial size=3D2>> =
wrote in=20
message </FONT><A href=3D"news:3a968e5c_2@dnews"><FONT face=3DArial=20
size=3D2>news:3a968e5c_2@dnews</FONT></A><FONT face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> How to create =
an MS Access=20
2000 database at runtime (with all tables) ,<BR>> please?<BR>> =
Thanks in=20
advance.<BR>> <BR>> --<BR>> __________________<BR>> Stefano=20
Tempesta<BR>> [Real Training]<BR>> </FONT><A=20
href=3D"mailto:stefano@tempesta.org"><FONT face=3DArial=20
size=3D2>stefano@tempesta.org</FONT></A><BR><FONT face=3DArial =
size=3D2>> </FONT><A=20
href=3D"http://www.tempesta.org"><FONT face=3DArial=20
size=3D2>http://www.tempesta.org</FONT></A><BR><FONT face=3DArial =
size=3D2>>=20
<BR>> </FONT></BODY></HTML>
------=_NextPart_000_0057_01C0A0AB.95D770F0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads