Eiolon Posted January 4, 2007 Share Posted January 4, 2007 I have a table called LOCATIONS and a table called HARDWARE.Basically, I want users to be able to delete locations from the locations table but ONLY if the location isn't being used in the hardware table. Any idea on how to pull this off? Thanks! Quote Link to comment Share on other sites More sharing options...
trq Posted January 4, 2007 Share Posted January 4, 2007 Run a select statement on the hardware table first, if you dont find a match, you can then run the delete query also. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.