L
Luc
Hi ! Any help on the following problem in Access XP would be highly appreciated.
I have 3 tables with the following structures:
AddressTypes:
- RefField 'autonumbered field (primary key)
- Type 'used to store "Office" (as RefType=1) and Home (as RefType=2)
SendMailTo:
- RefField 'autonumbered field (primary key)
- AddressRef 'refers to a tbAddress.RefField (select list)
- AddressType 'refers to a tbAddressTypes.Type
Addresses:
- RefField 'autonumbered field (primary key)
- Name
- OfficeAddress
- HomeAddress
What I'd like to do is:
display the Addresses.OfficeAddress and Addresses.HomeAddress for the Addresses.RefField =
SentMailTo.AddressRef next to the corresponding "Office" and "Home" choices of the
AddressTypes.Type in the dropdown list of the SendMailTo.AddressType.
The dropdown list would then display as:
Type | Address
"Office" | Addresses.OfficeAddress.Value for Addresses.RefField = SentMailTo.AddressRef
"Home" | Addresses.HomeAddress.Value for the same record
Any solution would be highly appreciated. Please note that the OfficeAddress and
HomeAddress may be empty. Please e-mail to: (e-mail address removed). Thanks to everyone.
I have 3 tables with the following structures:
AddressTypes:
- RefField 'autonumbered field (primary key)
- Type 'used to store "Office" (as RefType=1) and Home (as RefType=2)
SendMailTo:
- RefField 'autonumbered field (primary key)
- AddressRef 'refers to a tbAddress.RefField (select list)
- AddressType 'refers to a tbAddressTypes.Type
Addresses:
- RefField 'autonumbered field (primary key)
- Name
- OfficeAddress
- HomeAddress
What I'd like to do is:
display the Addresses.OfficeAddress and Addresses.HomeAddress for the Addresses.RefField =
SentMailTo.AddressRef next to the corresponding "Office" and "Home" choices of the
AddressTypes.Type in the dropdown list of the SendMailTo.AddressType.
The dropdown list would then display as:
Type | Address
"Office" | Addresses.OfficeAddress.Value for Addresses.RefField = SentMailTo.AddressRef
"Home" | Addresses.HomeAddress.Value for the same record
Any solution would be highly appreciated. Please note that the OfficeAddress and
HomeAddress may be empty. Please e-mail to: (e-mail address removed). Thanks to everyone.