Hi OzDownUnder (Neil),
You must put a PlaceBets object into each .bets array element before you assign the properties.
Dim pB As New BFUK.PlaceBetsReq
Dim pba As BFUK.PlaceBetsResp
With pB
.header = oHeaderUK()
ReDim .bets(2)
.bets(0) = New BFUK.PlaceBets 'Must have this
With .bets(0)
.size = 5
'assign other .bets parameters here
End With
End With
Regards,
M0.
You must put a PlaceBets object into each .bets array element before you assign the properties.
Dim pB As New BFUK.PlaceBetsReq
Dim pba As BFUK.PlaceBetsResp
With pB
.header = oHeaderUK()
ReDim .bets(2)
.bets(0) = New BFUK.PlaceBets 'Must have this
With .bets(0)
.size = 5
'assign other .bets parameters here
End With
End With
Regards,
M0.

