I am having the same issue trying to pass an integer
Error in formula Record Selection:
'({INVTRSLN.STAGEBATCHNUM} = '2')'
A number is required here.
----
dim intStageBatchNum
If Application.BasicFunctions.GlobalInfoExists("gStageBatchNum") Then
intStageBatchNum = Application.BasicFunctions.GlobalInfoFor("gStageBatchNum")
Application.BasicFunctions.ReportAddCondition "INVTRSLN:STAGEBATCHNUM"," = ", intStageBatchNum , "Integer", ""
End If
|