|
-
August 30th, 2001, 04:30 PM
#1
Passing dynamic arrays into a subroutine
How do you pass a dynamic array into a subroutine? I have filled an array:
Dim arAssetIDs() as Integer
.
.
ReDim arAssetIDs(1 to intAssetCount)
and then tried to call a sub:
Call subAssetTransfer(cmbSourceOwner, cmbTargetOwner, arAssetIDs())
which goes to:
public Sub subAssetTransfer(intSourceBEMS as Integer, _
intTargetBEMS as Integer, paramarray arAssets())
and all I get is an overflow error when it tries to execute the call statement.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|