Hi All,
I currently have 3 tables, Clients, Events and Event Status as
follows:
Clients: ClientID, Name, Address
Events: EventID, Name, Date
Event Status: StatusID, EventID, ClientID, Attended
I can easily create new Events and Elients, however, when i create a
new Event, I want to add a whole load of records to the Event Status
table by counting the number of Clients and performing a While
statement. What code would I use to increment through each Client
record and add their ClientID along with the EventID to the Event
Status table?
Thanks In Advance.
Alec
I currently have 3 tables, Clients, Events and Event Status as
follows:
Clients: ClientID, Name, Address
Events: EventID, Name, Date
Event Status: StatusID, EventID, ClientID, Attended
I can easily create new Events and Elients, however, when i create a
new Event, I want to add a whole load of records to the Event Status
table by counting the number of Clients and performing a While
statement. What code would I use to increment through each Client
record and add their ClientID along with the EventID to the Event
Status table?
Thanks In Advance.
Alec
Comment