Jump to content
We've recently updated our Privacy Statement, available here. ×

Marking from a Drop down menu


Tze Yik Lim

Recommended Posts

I am trying to use Drop down menu to control marking of data table column like above following example from https://datashoptalk.com/marking-from-a-drop-down-menu/

IronPython script

Document.Data.Markings["Marking"].SetSelection(dataTable.Select("[RefLastNLot] = '${RefLastNLot}'"), dataTable)

 

But, It give me error below. Can anyone advice what did i do wrong I thought is the data type issue, but i double check the data table column and document property data type are both "integer". So, i am not sure what i am missing.

Traceback (most recent call last):

File "", line 4, in

Exception: Invalid type for method call '=' on line 1 character 15

 

Spotfire.Dxp.Data.Exceptions.ExpressionTypeException: Invalid type for method call '=' on line 1 character 15

Link to comment
Share on other sites

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...