Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Question

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
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');
 
Try a JavaScript forum - this aint Java !!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top