'' on my getreport.asp...
'' I use query to get parent folder id... (the result datatype is object => vartype value is 9)
'' 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
'' I use query to get parent folder id... (the result datatype is object => vartype value is 9)
'' 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