Access 2000 and VB6 
Author Message
 Access 2000 and VB6

Does anybody know how to insert and rename columns in an Access 2000
database via VB6?

I have some clients that have mdb files that need to be updated, but they do
not have Access 2000 in their systems.  I intend to send them an executable
that will look for the mdb file and update it as needed.

Any help will be greatly appreciated.

Fausto Lopez



Sat, 21 Jun 2003 10:10:17 GMT  
 Access 2000 and VB6
Connect to the mdb-file with ADO-Commands (just search the MSDN for connect
and/or open). Then you can modify the database with sql-queries (something
like ALTER TABLE ...).
If you need further info then just post again (I would have to look it up ;)

Gru? Robert



Quote:
> Does anybody know how to insert and rename columns in an Access 2000
> database via VB6?

> I have some clients that have mdb files that need to be updated, but they
do
> not have Access 2000 in their systems.  I intend to send them an
executable
> that will look for the mdb file and update it as needed.

> Any help will be greatly appreciated.

> Fausto Lopez



Sat, 21 Jun 2003 16:19:01 GMT  
 Access 2000 and VB6
Thanks for the input Robert.  Connecting, opening, and modifying content of
existing records is no problem for me.  I just haven't found any information
on how to insert new columns or rename existing ones.

Thanks

Fausto Lopez


Quote:
> Connect to the mdb-file with ADO-Commands (just search the MSDN for
connect
> and/or open). Then you can modify the database with sql-queries (something
> like ALTER TABLE ...).
> If you need further info then just post again (I would have to look it up
;)

> Gru? Robert



> > Does anybody know how to insert and rename columns in an Access 2000
> > database via VB6?

> > I have some clients that have mdb files that need to be updated, but
they
> do
> > not have Access 2000 in their systems.  I intend to send them an
> executable
> > that will look for the mdb file and update it as needed.

> > Any help will be greatly appreciated.

> > Fausto Lopez



Sun, 22 Jun 2003 01:21:02 GMT  
 Access 2000 and VB6
See MSDN article number Q128016 for more info on this subject(full doc and
source code there).  Basically, open an access object and manipulate the tables
using ANSI sql.

Quote:

> Thanks for the input Robert.  Connecting, opening, and modifying content of
> existing records is no problem for me.  I just haven't found any information
> on how to insert new columns or rename existing ones.

> Thanks

> Fausto Lopez



> > Connect to the mdb-file with ADO-Commands (just search the MSDN for
> connect
> > and/or open). Then you can modify the database with sql-queries (something
> > like ALTER TABLE ...).
> > If you need further info then just post again (I would have to look it up
> ;)

> > Gru? Robert



> > > Does anybody know how to insert and rename columns in an Access 2000
> > > database via VB6?

> > > I have some clients that have mdb files that need to be updated, but
> they
> > do
> > > not have Access 2000 in their systems.  I intend to send them an
> > executable
> > > that will look for the mdb file and update it as needed.

> > > Any help will be greatly appreciated.

> > > Fausto Lopez

--
 ----------------------------------------------------------------------------
|   Jeff Goslin - MCSD   | "Oh Bentson, you are so mercifully free from the  |

 ----------------------------------------------------------------------------
|   how come everyone elses religion is a cult but your cult is a religion   |
 ----------------------------------------------------------------------------
|      XGenetic, the ActiveX Artificial Intelligence Genetic Algorithm       |
|           http://www.winsite.com/info/pc/win95/demo/xgen-sw.zip/           |
 ----------------------------------------------------------------------------


Mon, 23 Jun 2003 16:18:02 GMT  
 Access 2000 and VB6


Wed, 18 Jun 1902 08:00:00 GMT  
 Access 2000 and VB6
SQL: ALTER TABLE ...


Wed, 09 Jul 2003 10:53:10 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Access 2000 and VB6

2. access 2000 ET vb6

3. Access 2000 with VB6.0 - Stopped working...why?

4. Access 2000 and VB6

5. access 2000 to vb6

6. Columns in Access 2000 via VB6

7. Problem with ACCESS 2000 and VB6

8. Access 2000 and VB6

9. access 2000 in VB6 ??

10. Performance issue - Access 2000 using VB6 and ADO 2.1 with SQL

11. LIKE query gives different results in Access 2000 and VB6 SP5

12. Access 2000 in VB6

 

 
Powered by phpBB® Forum Software