George Bowyer
Registered User.
- Local time
- Today, 14:33
- Joined
- May 17, 2004
- Messages
- 50
Well I find it complicated.
I have a table of people, each with an ID, and I have a table of events, each with an ID.
I want to design a form in such a way that when you look at each person it gives a row of event fields, one for each event, into which you can put a Number for the number of tickets that each person wants (each person will only want to go to a few events).
If you enter a number, I want the form to generate new record in a separate table (tickets) with three fields - the Person's Id, the Event ID and the number of tickets.
I only want one ticket record per person per event (so if the numer of tickets changes I want the form to amend the number, not create a new record.
So, I want the Form to show "page" for each person, with "fields" for each event, the info being stored in a separate table, which the form is able to cycle through, despite the fact that there will not be records for every person.
I am a bit flummoxed as to how to design it.
Can anyone give me any guidance, please.
I have a table of people, each with an ID, and I have a table of events, each with an ID.
I want to design a form in such a way that when you look at each person it gives a row of event fields, one for each event, into which you can put a Number for the number of tickets that each person wants (each person will only want to go to a few events).
If you enter a number, I want the form to generate new record in a separate table (tickets) with three fields - the Person's Id, the Event ID and the number of tickets.
I only want one ticket record per person per event (so if the numer of tickets changes I want the form to amend the number, not create a new record.
So, I want the Form to show "page" for each person, with "fields" for each event, the info being stored in a separate table, which the form is able to cycle through, despite the fact that there will not be records for every person.
I am a bit flummoxed as to how to design it.
Can anyone give me any guidance, please.