Hi,
I have a drop down which consists the list of sub ordinates and I want to change its value on the basis of manager who logs in
So I have written a code for a "Drop Down" in its item field to change the source data (table) depending on the value of "Label1" which returns the name of the person who logs in
If(Label1.Text="Tom Stuart",Table1,Table3)
(i.e if Tom Stuart logs in then drop down should display list as per Table 1 else Table 3, I also want to convert this code into multiple if statement as there is a big list of managers and their subordinates)
But the above code gives me an error with a info sign that "columns produced by this rule are nested tables/records, however property expects atleast some simple values (such as text or numbers)"
Please assist with a correct code to resolve this error.
One more ques? let me know if there is a code to get subordinates list from outlook.