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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modify forms in other databases

Status
Not open for further replies.

kuanli

Technical User
Jan 28, 2002
22
CA
I need to modify the value list of a certain list box in some forms. I know how to do it for the currentProject. But I need to do the same modification for forms in about 30 different databases. How do I do that?

Thanks in advance.

Kuan
 
open them in DOA or ADO and do the same as with currentdb()


Rollie E

 
Thanks for the reply, but I still don't know how to do it. I think I'm missing something very basic here.

I can do this (DAO):
Set dbs = OpenDatabase("s:\Workplan-final.mdb")
dbs.TableDefs("Table1").Fields("Name").Name = "Lead"

Or I can do this (Access Object):
DoCmd.OpenForm "Form1"
Set thisForm = Forms(0)
thisForm.Controls("status").RowSource = "inProgress"

But I cannot link them together. In other words, I cannot modify form (access object) in the database that I opened (DAO).

Kuan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top