Populate textbox with data source name when data linking

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:

I am linking to an sql backend and want to show in a from textbox, the name
of that datasource. How can that be done programmatically?

Regards, Germaine
 
Try and select the property of one of the tables connection

On the Load event of the form
Me.TextBox = application.CurrentDb.TableDefs("TableName").Connect
 

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

Back
Top