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

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

Recommended Posts

Posted (edited)

I am wanting to create a list of letters of the alphabet, which when clicked upon will execute a script (that will return records beginning with that specific letter) and then highlight that letter in the list.

I can envisage 26 buttons each calling the same script passing in the chosen letter. Where I am struggling is with how to highlight the letter somewhere in this process.

I have spent hours barking up lots of wrong trees!!

Can anyone help me please.

Many thanks

Tim

Edited by Guest
Posted

You need to store the chosen letter in a global (field or variable), so that each letter in the list can compare itself to it. A repeating calculation field would be convenient here, e.g.}:(


Let ( 

char = Middle ( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ; Get ( CalculationRepetitionNumber ) ; 1 ) 

;

Case ( char = Extend ( gChar ) ; TextColor ( char ; 255 ) ; char )

)

Posted

Cool! Thanks for pointing me in the right direction again comment.

I first tried setting up the repeating 26 field as a text field with the code on auto-enter but that wasn't working. Then I realised you'd said a "calculation" field. Now she's sorted.

Thanks again.

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