Forum Discussion
You can use this
Dim Dstpath as string will have your intersections for destination without data units.
Dim SrcBuffer as string will use this info to create a data buffer "V#YTD:F#End_Bal:O#Import:U2#000:U3#0000:U4#0:U5#None:U6#None:U7#None:U8#None"
api.Data.Calculate(DstPath+" = Eval($SrcBuffer)",,,,,,,,,,,,,AddressOf OnEvalDataBuffer,,True)
Create a function with this signature. Inside this function you can access the databuffer using eventargs.databuffer1
this works in the exact same way as a DBCL rest you can manipulate as per your requirement.
Private Sub OnEvalDataBuffer(ByVal api As FinanceRulesApi, ByVal evalName As String, ByVal eventArgs As EvalDataBufferEventArgs)
eventArgs.DataBuffer1
End sub
- Gidon_Albert2 years agoContributor II
Right.... Using Eval(), AddressOf OnEvalDataBuffer generates an unknown error. we're trying to understand why.
Related Content
- 6 months ago
- 2 years ago
- 3 years ago
- 11 months ago