lunenburger
Member
OP
I have tried using the following code:
It returns a value of zero when it should be 573
I feel like this should work.... but it doesn't
What am I missing?? (other than better VbScript skills)
Code:
'Find Row Number of current Job
Dim sql1,LII
sql1="Select LAST_INSERT_ID() FROM meererdb.run_summary AS LII"
$numCur=$DBCursorOpenSQL("MySqlDB",sql1)
$rownum=$DBCursorGetValue($numCur, LII)
$DBCursorClose($numCur)
It returns a value of zero when it should be 573
I feel like this should work.... but it doesn't
What am I missing?? (other than better VbScript skills)