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

Populate a Text Box on Form with Field from Another Table

Status
Not open for further replies.

jsteff

Technical User
May 22, 2003
109
US
I have a form with a text boxes for PROJECT_CODE and START_DATE. (and 30 other fields).

The "START_DATE" is a field in the MASTER table that is the basis for the form.

However, the START_DATE should ALWAYS be retrieved from the
"SCHED" table based on the PROJECT_CODE.

Is there a simple way to do this? Should i use the expression builder?

thanks.


 
Hope your SCHED table has fields called START_DATE and PROJECT_CODE
YourTextBox= DLookup("[START_DATE]", "SCHED", "[PROJECT_CODE] =& Forms![FrmName]!PROJECT_CODE)
for more on this try Dlookuo in help file.

Zameer Abdulla
Visit Me (New Look & style)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top