L
ladybug via AccessMonster.com
I have a command button in a subform. The subform is set to continuous. I
have this in the OnClick Event Procedure:
DoCmd.SetWarnings False
DoCmd.RunSQL ("DELETE * FROM dbo_sds_dir_route WHERE RouteID = forms!rm_route!
sfrm_route_work_outs!txt_routeid;")
Me.Requery
I want when the button is clicked the corresponding entry on the continuous
subform is deleted. Can someone help me? This code is not deleting the
record.
have this in the OnClick Event Procedure:
DoCmd.SetWarnings False
DoCmd.RunSQL ("DELETE * FROM dbo_sds_dir_route WHERE RouteID = forms!rm_route!
sfrm_route_work_outs!txt_routeid;")
Me.Requery
I want when the button is clicked the corresponding entry on the continuous
subform is deleted. Can someone help me? This code is not deleting the
record.