Cannot assign a geoprocessing valuetable object to a string with embedded spaces.
Needs documentation to inform the user that the string needs to be enclosed in single quotes.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM002095
Submitted
April 12, 2006
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.1
Version Fixed
9.2
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Workaround for vt.SetRow 2, "<a href="file:D:/inc479405/LandUse" target="_blank">D:\inc479405\LandUse</a> selection.lyr"is to enclose the string in single quotes as: Dim inpath1 As String inpath1 = "<a href="file:D:/inc479405/LandUse" target="_blank">D:\inc479405\LandUse</a> selection.lyr" Dim quote As String quote = "'" vt.SetRow 1, quote + inpath1 + quote