Hi all,
I have a tree tool inside a marco that mimics a database setup ie. Level 1 = Database | Level 2 = Schema | Level 3 = Table | Level 4 = Columns
With that tree users can select columns from any table and download only the respective columns they have selected. Beucase they can select multiple columns I cannot use the 'Limit to one selection' inside the tree tool.
My goal is now to display an error if a user selects columns from two different tables as this can cause an issue downstream and might not be noticed by a user if he accidentially selected columns from two tables.
The expression should be something like 'IF Count(Selections Table/Schema/Database) > 1 THEN ERROR'

Thanks!
Thomas