Jump to content

CurrentValueIs there is a way to change it to be something like that


Ditza Noy

Recommended Posts

Hi,This is my code:

MyTable=Document.Data.Tables['tableName']col1=DataValueCursor.CreateFormatted(MyTable.Columns['col1'])col2=DataValueCursor.CreateFormatted(MyTable.Columns['col2'])for row in MyTable.GetRows(col1,col2): print col1.CurrentValue

Is there is a way to change it to be something like thatcols=[col1 col2]for row in MyTable.GetRows(cols): print cols[1].CurrentValue

Link to comment
Share on other sites

  • 4 years later...

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