Andrew Pham 2 Posted June 26, 2023 Share Posted June 26, 2023 I have a multi select list box filter with column values from a table and I want to be able to create a button so when you click it, the button will do mathematical calculations for the columns selected ( ex: calculated average values of the columns) and output it into a new table. The problem i have right now is having the button read the current column selection. Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted June 30, 2023 Share Posted June 30, 2023 Hello Andrew, You can read and write a string list document property because this is the type of data the multi select document property control handles This code updates the my StringList with a,b and c values. Document.Properties["myStringList"] ="a,b,c".split(",") Similarly you can read the values using the same approach Here is more info: https://spotfired.blogspot.com/2022/07/create-read-and-delete-document.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now