BlurredVision
Technical User
Hi. I have the following code.. I am attempting to check a field, if null then say so, if not then say so.. It works fine on the 1st pass, but fails on the second with "Item SI_LAST_RUN_TIME was not found in the collection.
line: 647" Any ideas.. I'm lost!..
Thanks for any help given!.
//Retrieve Infomation
var Users = IStore.Query("SELECT SI_NAME, SI_LAST_RUN_TIME, SI_DESCRIPTION, SI_UPDATE_TS FROM CI_INFOOBJECTS WHERE SI_PROGID='CrystalEnterprise.Report'ORDER BY SI_NAME"
;
{
if ( Users.Item(i).Properties.Item('SI_LAST_RUN_TIME') != null ) {
Response.Write('Not Null');
} else {
Response.Write(' Null');
line: 647" Any ideas.. I'm lost!..
Thanks for any help given!.
//Retrieve Infomation
var Users = IStore.Query("SELECT SI_NAME, SI_LAST_RUN_TIME, SI_DESCRIPTION, SI_UPDATE_TS FROM CI_INFOOBJECTS WHERE SI_PROGID='CrystalEnterprise.Report'ORDER BY SI_NAME"
{
if ( Users.Item(i).Properties.Item('SI_LAST_RUN_TIME') != null ) {
Response.Write('Not Null');
} else {
Response.Write(' Null');