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

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

Recommended Posts

  • Newbies
Posted

Hello, I am building a subscription database for a quarterly publication and need to be able to identify records for expiring subscribers. The database contains a field for ending issue but the issue is identified by season and year ie. "Summer 2007". How can I specify that "Summer 2007" equals a specific date or date range without renaming the values in the field? I am trying to create a script that will identify only expiring records. Please help if you can, I am a graphic artist & web designer by trade and this database stuff is new to me.

Posted

How can I specify that "Summer 2007" equals a specific date or date range without renaming the values in the field?

By defining a calculation field that translates it into a date or date range. For example:

Let ( [

m = Position ( "SprSumAutWin" ; Left ( EndIssue ; 3 ) ; 1 ; 1 ) + 2 ;

y = RightWords ( EndIssue ; 1 )

] ;

Date ( m ; 1 ; y )

)

This returns:

"Spring YYYY" - March 1, YYYY;

"Summer YYYY" - June 1, YYYY;

"Autumn YYYY" - September 1, YYYY;

"Winter YYYY" - December 1, YYYY;

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