View Full Version : do I need relationships?


gillbates21
04-22-2006, 09:34 AM
When I use onlySQL and INSERT, UPDATE and DELETE queries to manipulate data in my tables then do I need relationships :confused:


For example, if I insert data from a form, I use as many INSERT queries as needed to insert all the data to all the tables. All SQL.

Pat Hartman
05-01-2006, 06:16 PM
Why would you think that action queries behind unbound forms are any safer than bound forms? Your action queries are quite capable of inserting/updating invalid data. Why even use Access if you are going to use unbound forms?

It is ALWAYS better to have the database engine enforce whatever RI it is capable of enforcing. Only if the db engine cannot enforce a business rule should you write the code to do it yourself.