Won't work in Office 2007

D

David

I have a form with a control that is supposed to show the link for a
table in the mdb.

Control source =CurrentDb.TableDefs("ItemMainInfo").[Connect] gives me
the path and name in Office 2003 but gives an error ( #Name? ) in
Office 2007.

Help me.
 
D

Dirk Goldgar

David said:
I have a form with a control that is supposed to show the link for a
table in the mdb.

Control source =CurrentDb.TableDefs("ItemMainInfo").[Connect] gives me
the path and name in Office 2003 but gives an error ( #Name? ) in
Office 2007.


That works fine for me. Is VBA code enabled in the database? Is it in a
trusted location?
 
D

David

Thanks, but now I have to study Office 2007 to figure out your answer.



I have a form with a control that is supposed to show the link for a
table in the mdb.
Control source =CurrentDb.TableDefs("ItemMainInfo").[Connect] gives me
the path and name inOffice2003 but gives an error ( #Name? ) in
Office2007.

That works fine for me.  Is VBA code enabled in the database?  Is it in a
trusted location?
 
D

Douglas J. Steele

See whether what Jeff Conrad has at http://accessjunkie.com/faq_01.aspx
helps.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)



Thanks, but now I have to study Office 2007 to figure out your answer.



I have a form with a control that is supposed to show the link for a
table in the mdb.
Control source =CurrentDb.TableDefs("ItemMainInfo").[Connect] gives me
the path and name inOffice2003 but gives an error ( #Name? ) in
Office2007.

That works fine for me. Is VBA code enabled in the database? Is it in a
trusted location?
 
D

Dirk Goldgar

David said:
Thanks, but now I have to study Office 2007 to figure out your answer.


Please let me know if the link Doug posted doesn't answer your questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top