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.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM002095
已提交
April 12, 2006
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.1
修正版本
9.2
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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