Signature (Visual Basic / VBA)
Public Function FixUpVariantToStringFnRecursive( _
ByRef rArgument As Variant _
) As Boolean
Parameters
| Parameter | Description |
|---|---|
| rArgument | The argument which is converted into a string value, if possible. Function stops and returns False if any individual element cannot be converted, such as when the argument is missing, Null, an array, an error, or an object. Function returns True if all elements either had string values or were converted to string values. |
Notes & Version History
| Note | Function handles arguments containing nested Array-type Variant values. |
| Note | rArgument is a passed by reference, so the array passed from the calling function may be modified. |
| Note | Function silently ignores vbDataObject and vbObject type values. |
| v1.3 BugFix | Changed this function to correctly do nothing when the argument is of type dbDataObject. |