|
Question : How do I (can I?) create a multi-value field in Access?
|
|
I'm an experienced programmer but an Access neophyte. I'm trying to create a database that keeps track of my entertaining. There will be one record per event. I have a "Name" field for the names of guests, and it is tied to a table lookup. But how can I select multiple guess names from my table?
|
|
Answer : How do I (can I?) create a multi-value field in Access?
|
|
You're going to need more than one table for a start,
Probably:
tbl_entertainment_event: EventID Autonumber PrimaryKey EventName Text(Name or description) EventDate DateTime .... any other info you wish to add about entertainment events
tbl_guest: GuestID Autonumber Primary Key Firstname Text Surname Text .... any other info you wish to add about guests
Now a relating table: tbl_event_guest: EventID Long Integer (Relate this field to tbl_entertainment_event.EventID via Tools....Relationships) GuestID Long Integer (Relate this field to tbl_guest.GuestID via Tools....Relationships)
Now use the form wizard to create a form/subform combination, containing the following fields
tbl_entertainment_event: EventID EventName EventDate .. any other fields in this table
tbl_event_guest: GuestID
tbl_guest: Firstname Surname ... any other fields in this table.
Hope this helps
|
|
|