Jump to content

Value List in Custom Dialogue


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

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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