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

turning a calculation into a table


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

Recommended Posts

Posted

In my DB i have a calculation field that i feel could be streamlined into a seperate table and reference instead of a complex calculation but i'm not sure how and thought someone might have ideas.

Case (Type = "Basic Subscriber" and Country = "USA"; "USA 1 Year - 6 Issue Term" ;Type = "Basic Subscriber" and Country = "Canada"; "CAN 1 Year - 6 Issue Term" ;Type = "Ezine Subscriber" and Country = "USA"; "Ezine 1 Year - 6 Issue Term" ; Type = "Digital Subscriber" and Country = "USA"; "Digital 1 Year - 6 Issue Term" ;Type = "Single Ezine Issue" and Country = "USA"; "Online Single Issue" ; Type = "Single Digital Issue" and Country = "USA"; "Online Single Issue" ; Type = "Single Issue" and Country = "USA"; "Single Issue" ;Type = "Free Subscription" and Country = "USA"; "Complementary Subcription" ;Type = "Basic Subscriber" and Country = "United Kingdom"; "UK 1 Year - 6 Issue Term" ; "..." )
Posted

the tricky part is that i used Type and Contry to generate the long description currently so Type and Country are in the first Table (records) why wound i need them in what is basicly a table to make getinng the long description simplier need to reference 2 fields

(ie isn't matching Records::type, Records::Country to Description::Type, Description::country a obtuse design?)

Posted

These are some records from the new table:

Id--- Type------------- Country---- Description

1---- Basic Subcriber--- USA------- USA 1 Year - 6 Issue Term

2---- Basic Subcriber--- Canada---- CAN 1 Year - 6 Issue Term

3---- Ezine Subscriber-- USA------- Ezine 1 Year - 6 Issue Term

and so on.

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