1 reply
by cptomlly
In response to your first question: It is generally considered bad design to store a calculated value in a your data tables (and its therefore rather difficult). Calculated values should be handled "on the fly" using queries, form controls, etc. For example, you want to find the circumference of a circle based on a "diameter" value in Table1. Your select query should have the following format "Circumference: [table1].[diameter]*3.14". This will give you a field in your query called Circumference and the value will be calculated when the query is run. Or if you prefer the SQL statement: SELECT Table1.name, [table1].[diameter]*3.14 AS Circumference
FROM Table1;
Here's a good reference website for further info: http://www.fontstuff.com/access/acctut02.htm
As for the second question, you can control read or edit/admin access to forms using Tools>Security>User and Group Permissions and User and Group Accounts. First open the Permissions interface and change the Users group to the security desired for each object (forms, queries, etc.). Then open the Accounts group and create a new "User" account, and add it to the "Users" group you just assigned permissions to. You can create more groups and accounts as necessary, assigning granular permissions to edit/administer various parts of the database.
Hope this helps.
This discussion is closed to new replies.
Trending Software posts
Sort by Trending