Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hardcoded value works in the following code but Variable does not

Status
Not open for further replies.

kdjonesmtb2

Technical User
Nov 19, 2012
93
US

Dim TESTNUM
TESTNUM=Trim(DataTable.Value("TESTNUM", dtLocalSheet))

This code does not work


If DataTable.GetCurrentRow=TESTNUM then

RunAction "Action1 [Append footer]", oneIteration

END IF


This code code kicks off the action if I hard code a value to have the Append action code run on row 3 of the DataTable

If DataTable.GetCurrentRow=3 then

RunAction "Action1 [Append footer]", oneIteration

END IF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top