W
wdsnews
I'm struggling with something that was pretty easy with WinParadox. Suppose
I have three tables; People, Phone, and PhoneType. On my People form, I
want a subform in which the user is able to add more phone numbers to the
Phone table. I want the user to see two fields; the first field allows a
phone number, and the second field allows a 'phone type' lookup from the
PhoneType table, that results in placing the PhoneTypeID in the new Phone
record. However, all my attempts with the wizards leaves me with a subform
in which efforts to add a phone number in the Phone table result in adding a
record to the PhoneType table instead.
There is a one-to-many relationship from People to Phone, and a one-to-one
relationship from Phone to PhoneType, (i.e. PhoneType has 8 records of two
fields; '1, Home Phone', '2, Work Phone', '3, Mobile Phone', etc.) There
are three obvious key fields linking the tables; PeopleID, PhoneID, and
PhoneTypeID. The Phone table has four fields; 'PhoneID[Key]', 'PeopleID',
'PhoneTypeID', and 'PhoneNo'.
How can I address this or what am I not understanding?
I have three tables; People, Phone, and PhoneType. On my People form, I
want a subform in which the user is able to add more phone numbers to the
Phone table. I want the user to see two fields; the first field allows a
phone number, and the second field allows a 'phone type' lookup from the
PhoneType table, that results in placing the PhoneTypeID in the new Phone
record. However, all my attempts with the wizards leaves me with a subform
in which efforts to add a phone number in the Phone table result in adding a
record to the PhoneType table instead.
There is a one-to-many relationship from People to Phone, and a one-to-one
relationship from Phone to PhoneType, (i.e. PhoneType has 8 records of two
fields; '1, Home Phone', '2, Work Phone', '3, Mobile Phone', etc.) There
are three obvious key fields linking the tables; PeopleID, PhoneID, and
PhoneTypeID. The Phone table has four fields; 'PhoneID[Key]', 'PeopleID',
'PhoneTypeID', and 'PhoneNo'.
How can I address this or what am I not understanding?