Mary... anyone... can someone help me?
I have used Mary's excellent sample code to check for the existence of a duplicate primary key and give the user an improved feedback (well, better than the Access default one!).
What I'd like to know, is that if the 'primary key' is in fact composite from three fields, e.g. appointment_dat e, appointment_tim e and gp_id, then how can we code a solution to detect a gp has been double-booked for example, and then return a custom message box?
Thank you so much in advance,
AndyCash
I have used Mary's excellent sample code to check for the existence of a duplicate primary key and give the user an improved feedback (well, better than the Access default one!).
What I'd like to know, is that if the 'primary key' is in fact composite from three fields, e.g. appointment_dat e, appointment_tim e and gp_id, then how can we code a solution to detect a gp has been double-booked for example, and then return a custom message box?
Thank you so much in advance,
AndyCash
Comment