Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
webby1396
Starting Member
3 Posts |
Posted - 2006-05-26 : 15:55:00
|
Hi.I have two tables.Activity(ActivityID,Name,Price,NumberAttending)Student(StudentID,MorningActivityID,AfternoonActivityID)I want to update Activity.NumberAttending with the count of students going participating in that activity for both the morning and afternoon. ie i want the numberAttending field to be automatically updated for each activityID with the amount of students attending.Activity.ActivityID = MorningActivityID and AfternoonActivityIDI keep getting errors in Access when trying to do it.Also, is there a way of doing it so that all of them happen automatically and i dont have to pass a parameter into the query.TIA |
|
|
|
|