agnelofer1
New member
- Local time
- Today, 10:40
- Joined
- Nov 30, 2011
- Messages
- 2
I have set-up an education database where end users can allocate candidates to a particular course date. But when the number of allocated candidates for that particular course for that course date goes beyond 24 then a messages prompts the end user.
For simiplicity, i can tell you that I have created a query 'course_counter_qry' which has 3 columns as shown below:
Column 1 [course]
1.ECG Basic Rhythm
2.ECG Basic Rhythm
Column 2 [course_date]
1.25/10/2011
2.01/11/2011
Column 3 [count_of_each_course_day]
1.24
2.10
each record in column 3 shows the current number of candidates that are allocated for that particular course day. Eg: 24 candidates are allocated for ECG Basic Rhythm on 25/10/2011
Now when the end user is going to allocate another candidate for ECG Basic Rhythm on 25/10/2011, which is done on a seperate form [candidate_allocation_form] on a control (final_course_date) based on a table [candidates_tbl], i need a message to prompt to the user "Candidates exceed total number of 24".
I was thinking like, OnUpdate of the 'final_course_date' control, we should open 'course_counter_qry' as recordset and then may be check if the particular course date exceeds 24 and if so then message prompts ...but i am not able to get my head around.
Also if any other method is suitable, then let me know.. your help is much appreciated.
For simiplicity, i can tell you that I have created a query 'course_counter_qry' which has 3 columns as shown below:
Column 1 [course]
1.ECG Basic Rhythm
2.ECG Basic Rhythm
Column 2 [course_date]
1.25/10/2011
2.01/11/2011
Column 3 [count_of_each_course_day]
1.24
2.10
each record in column 3 shows the current number of candidates that are allocated for that particular course day. Eg: 24 candidates are allocated for ECG Basic Rhythm on 25/10/2011
Now when the end user is going to allocate another candidate for ECG Basic Rhythm on 25/10/2011, which is done on a seperate form [candidate_allocation_form] on a control (final_course_date) based on a table [candidates_tbl], i need a message to prompt to the user "Candidates exceed total number of 24".
I was thinking like, OnUpdate of the 'final_course_date' control, we should open 'course_counter_qry' as recordset and then may be check if the particular course date exceeds 24 and if so then message prompts ...but i am not able to get my head around.
Also if any other method is suitable, then let me know.. your help is much appreciated.