Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2488 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hoping that someone here can point me in the right direction, and that this is actually a simple task (but one that has me stumped right now).  I have a solution that I have developed and would like to make better use of a Checkbox.  The checkbox would display the contents of a field that contains multiple options/accessories that we can supply.  For the sake of this question, let's say it's 5 options; Window Tint, Trailer Hitch, Floor Mat, Tool Box, and Sunroof.  Each Item would have a different cost.  What I would like to be able to do is have a field that calculates the total cost of the options that have been selected (could be zero, or all 5).  I've looked for help on checkboxes, but the help documentation was not of use to me.

 

I thought this would be easy, but I can't seem to figure it out. 

Posted

You don't want checkboxes. You want a joint able between the options and the main table. And add records as needed. Then you can store the price of the option in the option table. Then you can just sum the items in the portal once they've been added.

So you'll have 3 tables (at minimum). The join table should have the ID of the main table and the option. And you'll need to store the price of the option when creating the option join records just in case the price of the option changes later.

This topic is 2488 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.