G
Guest
Hi,
I have the following code behind a button:
DoCmd.SetWarnings True
DoCmd.RunSQL "DELETE FROM fy02_basetable WHERE (SELECT orderno FROM
estimates WHERE cmborderno = [forms]![estimates]![cmborderno]);"
I am hoping for users to be able to delete a record from one table, while
also deleting a record in another table with the same orderno value. Does
anyone know how I can achueve this?
Thanks in advance
geebee
I have the following code behind a button:
DoCmd.SetWarnings True
DoCmd.RunSQL "DELETE FROM fy02_basetable WHERE (SELECT orderno FROM
estimates WHERE cmborderno = [forms]![estimates]![cmborderno]);"
I am hoping for users to be able to delete a record from one table, while
also deleting a record in another table with the same orderno value. Does
anyone know how I can achueve this?
Thanks in advance
geebee