View Single Post
  #3 (permalink)  
Old March 10th, 2006, 05:09 AM
joelchaconf joelchaconf is offline
Authorized User
Join Date: Mar 2006
Location: Aberdeen, Scotland, United Kingdom.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts

Modify the code as follows:

Set rsObj=Application("spObj")
if IsEmpty(rsObj) then
end if

If you get the "Bingo", then the "spObj" entry in the application object is empty. The application object is used to cache data. Is is similar to the Session object.

Find out what part of the code is supposed to save data into the Application object with the "spObj" entry. That should be easy with a search.

Then, keep the code to check if the entry was empty anyway. It is bound to be empty the first time the application runs.

Cheers, Joel
Reply With Quote