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

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

Recommended Posts

Posted

Quick question,

I'm trying to put a value list into a custom dialogue for display... and comma seperate it etc with no luck... i.e.

Let (valueDisplay = Substitute(ValueListItems(Get(FileName);"ValueListName") ; ; ", ") ;

Left(valueDisplay ; Length(valueDisplay) - 2))

Yes i am sure i am using a real value list and it's name is correct. Thanks for any suggestions.

~Genx

Posted (edited)

Substitute(ValueListItems(Get(FileName);"ValueListName") ; ¶ ; ", ")

But for goodness sakes, it doesn't work with Value Lists! It worked in vs. 6! And it works with Get(RecordNumber) etc... It doesn't work in vs. 7.0v3 or 8.0v2.

Edited by Guest
Posted

Alright. I feel insane. I swear it didn't work and now it does ... both in 7.0v3 and 8.0v2. I must be overdue for a long break ...

Posted

Lol, yeh, mine was just to trim the last comma off... Cause it looks ugly, but it doesn't change the fact that i can't get my list into my dialogue box :

Posted

Emmm, Value Lists clean up their own ¶ and it doesn't end up with trailing ',' at all. See attached. If it still isn't working, then we'd need to see your file. It displays in all three places - Title, message, and input message.

CustomDialogVL.zip

Posted

Sorry, i was getting my value list formatting confused with user added values... where a user adds value x and a carriage return to a field... sorry. Thanks for the file, maybe i got my syntax wrong or something, ill have a look.

Cheers,

~Genx

Posted

Lol, yeh it works, but for some reason i can not remember the script i needed it for originally... and out of my 300 scripts nothing rings a bell!!!!!! I am so distraught right now. But thanks for the help LaRetta.

~Genx

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