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!

Retrieving linked data from tables

Status
Not open for further replies.

MarkWaddington

Programmer
Aug 19, 2002
64
GB
I'm positive this is a simple query, but it eludes me.

I have a table entitled Projects which has a field called ProjectPrefix that has a one-to-one link with another table called Project_Prefix which contains the fields ProjectPrefix and ProjectDescription.

Now I am trying to get a field on my Project form which displays the corresponding ProjectDescription. In the past I have just added a sub-form and let the wizard do the rest. This worked ok until today when I realised I would need a CONTINUOUS form.

Apparently you cannot have sub-forms on a continuous form so I am at a loss as to how to make it display this ProjectDescription field.

Please help!

Many thanks.

Mark Waddington.
 
HI

Make a query with The two tables (project and project_Prefix) with a join on ProjectPrefix, include all columns from project, in the 'show' portion of the query, plus the column ProjectDescription from the prefix table.

Use the above query as the recordsource for your continuos form Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top