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

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

Recommended Posts

Posted

Hi!

I have a problem with adding new records and data.

I have one table with records of dates (valid from and valid to) and prices.

Exmpl.: 1.1.2000 / 10.1.2000 / 100$

In other table I want to add record with current date and also the price for that date. I need something that will pull out the correct price for current date.

Should I write a script that goes in other layout and searches for date or is there a different way to accomplish this?

Thanks for any help

Dean

Posted

In your other table I would add an auto-entered creation date field (if you don't have one already). Then create a relationship to your price table using

CreationDate >= price::dateValidFrom

AND

CreationDate <= price::dateValidTo

Then you can use an auto-enter calculation of relationship::price.

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