Re: Display Multiple Data Fields based on drop down selection
- From: "Wolfgang Kais" <spam@xxxxxxxxx>
- Date: Thu, 11 Oct 2007 05:24:05 +0200
Hello Peter.
"Peter" wrote:
I have a subform that I want to use to track some resource-specific
information relative to a project. I have a TeamMember table that
have foreign-key fields that link to the Resource table (containing
much of the needed data) and the Project Table.
I've seen this done with a Classroom Database I downloaded from the
Microsoft Templates site but cannot get it to work for my database
- ugh. Basically I want the user to be able to select the Resource
Name from the Subform drop down field and have the DeskPhone,
MobilePhone, SkypeName, Location, and Company fields automatically
populate in the subform with the data stored on the resource table.
I also want to allow the user to update the data within that subform
and have that updated data change reflect in the resource table;
I.E.: if the user's DeskPhone needs to be changed, the user can
change that in this subform without having to go to the Resource
table or another Resource contact form.
So how do I do this?
Base your subform on a query that joins the TeamMember table witht
the Resource table. It should contain the ProjektID, ResourceID,
other relevant data from the TeamMember table, and the fields from
the Resource table: DeskPhone, MobilePhone, SkypeName, Location and
Company.
If you enter a ResourceID (for example by selecting a Resource Name
in a combo box), Access will immediately show the data from the
Resource table and allow for editing.
--
Regards,
Wolfgang
.
- Follow-Ups:
- References:
- Prev by Date: Re: SetFocus is ignored
- Next by Date: Re: WANT TO ADD FIELDS
- Previous by thread: Display Multiple Data Fields based on drop down selection
- Next by thread: Re: Display Multiple Data Fields based on drop down selection
- Index(es):
Relevant Pages
|