I have code, shown below highly simplified that works all except for 1 thing: The variables being passed byRef get passed, but once modified in RecordData, they are never updated in the calling function. The calling function does not receive the updated
data that is in the variables custid and amt. When debugging, I see the data in the else section of if me.invokerequired, but once it returns from the callback and is in the latter part of if me.invokerequired the data is missing.
How do I fix this?
Delegate Sub RecordDataCallback(ByRef custid As String, ByRef amt As Double)
Private Sub RecordData(ByRef custid As String, ByRef amt As Double)
If Me.InvokeRequired Then
View Complete Post