Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding (Access) fields via VB6

Status
Not open for further replies.

draugen

Programmer
Joined
Nov 24, 2004
Messages
48
Location
NO
I have an access file that is called Vedlikeholds_Rutiner.mdb. The path of the access file is:
c:\IKDV\Vedlikeholds_Rutiner.mdb.
I need a new field(collumn) called katagori to be added to Vedlikeholds_Rutiner.mdb.
Is there a way to add it via a VB6 program? If so how?
Thanks ahead of time.
 
You can do this quite easily using DAO, here's a short example. There's also an ADO example within this FAQ on TT itself (faq222-1422).

Hope this helps

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top