Jump to content
Sign in to follow this  
netcode

Showing/Hiding Repititions

Recommended Posts

Hey all,

I am working on a field that I want to hold the active years of a contract (ex. 2008, 2009, 2010,.. etc). I created a repeating field and I am looking to show or hide the repetitions based on weather the previous repetition is full.

Is this possible? I have read about using a portal technique to show and hide fields but I having a tough time understanding that method and how I could apply it to this situation.

Is there some sort of simple function to modify object properties?

Thanks

Share this post


Link to post
Share on other sites

What is the purpose of this? Using a repeating field may not the most correct way to handle this.

Share this post


Link to post
Share on other sites

The general purpose of this field is to store the active years of the contract (ex. 2008, 2009, 2010)

Share this post


Link to post
Share on other sites

You are experiencing a problem directly caused by using repeats. Get rid of the repeating fields; use a portal and related table.

Share this post


Link to post
Share on other sites

It looks like that really may be the best solution, despite if I want that to be the solution or not :)

Share this post


Link to post
Share on other sites

Depending on your needs, you might try somthing like this.

(Calculation based on contract dates, Start and End, see attached file. I only made this work for contracts up to 6 years long.)

Finds should let you enter one year and find all jobs active for that year. Relationships will also work using this as a key field.

ContractYears.zip

Edited by Guest

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Who Viewed the Topic

    2 members have viewed this topic:
    Claus Becker  Ed@ 
×

Important Information

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