Here's how I might do this:
 
'***** code start *****'
 
    Dim db As DAO.Database
 
    Set db = DBEngine.OpenDatabase("C:\MyDatabase.mdb")
    db.Execute "ALTER TABLE tblSomeTable ADD COLUMN SalespersonID LONG"
 
'***** code end *****'
 

Tom Oakes
Personal PC Consultants, Inc.
[EMAIL PROTECTED]
503.230.0911 (O)
402.968.6946 (C)
713.583.7091 (F)




From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of verly yuli
Sent: Thursday, June 30, 2005 6:06 PM
To: [email protected]
Subject: [AccessDevelopers] how to add fields in the another db?

hi all..l
anyone could help me?
i want to add a field in the other db

thank you very much



regards

verly yuli


           
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com



Please zip all files prior to uploading to Files section.





Please zip all files prior to uploading to Files section.




YAHOO! GROUPS LINKS




Reply via email to