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

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

Recommended Posts

Posted

Hello world,

I'm building a dvd/cd database and so far it works pretty well. I keep running into trouble when trying to get data (numerical) from the portal I've used.

My portal contains disk: content, content type (movie, music etc.) and content size.

I used a calculation to "sum" the content size to create a "disk size" field. That works really well, but I also wanted to sum up the size of all the disks. I used a summary field but that doesn't work straight away. I have to re-open the DB for it to re-sum all the disk sizes. Maybe theres a better way to do this?? confused.gif

I'm also trying to restrict data entry within the portal. I used a validation on the content size field to try and make sure that "if" the disk type field was "DVD" it would only allow 4700 (MB) in the portal and otherwise ("CD") it would only allow 700 (MB). This too is a great function, but it only works on the first row of the portal.

Can someone help me?? ooo.gif

Many thanks,

Zookey

Posted

If you can post the file, then it would be easier to see exactly how your relationships are set up, and why certain things aren't working.

Dana

Posted (edited)

Your attachment doesn't seem to be there. Maybe something with the new forum design....

Can we not add attachments anymore??

Edited by Guest
Posted

The summary fields don't refresh very well esp. when used on unstored calc fields. Easier ways to make them refresh are to switch to another layout and switch back, or change the found set. Summary fields depend on the found set, so changing that will force it to reevaluate.

If you always want the field to calculate everthing and not depend on the found set, then you could use another calculation field which would sum up all the sizes. I've attached a modified version of your file with this field below the summary field you created.

Your validation only works on one field because you're not validating on the sum of all related records. I changed your validation. I added a couple of table occurrences to your graph to make these changes.

Dana

Disk_Data.fp7.zip

This topic is 7070 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.