Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
You can create a field right in your table that will perform calculations based on your data. Right-click on our Product's table and open it in Design View. We're going to create a Profit field and on the Data Type list choose Calculated. It opens up an Expression Builder. Type in equal sign and then double-click on Price, a Minus sign and then double-click on Cost. Notice that both the fields came up in square brackets. That's the notation Access uses in its backend programming to signify a Field Name.
Click OK. When we start entering Products in our Table, all we'll have to do is enter in the Cost and the Price, and Access will do the rest. We'll test this in a later chapter of this course. And not only can you have the field Auto Calculate, but you can easily run queries and reports using this data, without having to program calculations there as well.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 64651 Viewers
80 Video lessons · 124285 Viewers
52 Video lessons · 60227 Viewers
59 Video lessons · 46062 Viewers