Solved

MS Acess 2010 form text box control data source question

Posted on 2011-03-15
2
413 Views
Last Modified: 2012-05-11
Hi -

Is it possible to have a form which is using one table as it's data source but to have 1 text box on that form get data from a different source?

My form is connected to a table called ImportsTab

and my text box needs to be connected to a field called ExID in a table called ExportsTab

Thanks for any help

0
Comment
Question by:rinkydink
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 35142902



explain, why you need the textbox to be connected to a field called ExID in a table called ExportsTab..

you can use dlookup() function to get the information from the other table.
if the two tables are related, you can use a query with joins in the two tables and use the query as the record source of the form..
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 250 total points
ID: 35142909
Not exactly, but you can have the Text box 'lookup' a value from that table, using DLookup() .... for example ... set the Control Source of the text box to something like this:

=DLookup("[ExID]","ExportsTab")

mx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now