'' The data from query result.. I have is an object....(parentFolderId)
'' Response.Write display the value... but I have problem when append the parentFolderId to another string
'' How to convert the object to string (get object value) ??
Dim parentFolderId
set folderResult = IStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Folder' And SI_NAME = 'CRS'"
parentFolderId = folderResult.Item(1)
Response.Write(parentFolderId )
Response.Write(VarType(parentFolderId) )
otherString = "parent folder id: " & parentFolderId
Error:
------------------------------
Microsoft VBScript runtime (0x800A000D)
Type mismatch
-------------------------------
Thanks,
-Howard
'' Response.Write display the value... but I have problem when append the parentFolderId to another string
'' How to convert the object to string (get object value) ??
Dim parentFolderId
set folderResult = IStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Folder' And SI_NAME = 'CRS'"
parentFolderId = folderResult.Item(1)
Response.Write(parentFolderId )
Response.Write(VarType(parentFolderId) )
otherString = "parent folder id: " & parentFolderId
Error:
------------------------------
Microsoft VBScript runtime (0x800A000D)
Type mismatch
-------------------------------
Thanks,
-Howard