|
Moderator |
Joined: Fri Jul 20, 2007 8:27 am Posts: 1259
|
I don't think IsEmpty works in this instance at 2188. The ExecQuery is returning an empty collection which is always false for IsEmpty. Change the following and see what happens:
Line 2188 from: [code]if IsEmpty(colItems2) then[/code]
to: [code]if colItems2.Count = 0 then[/code] Mark will need to go through the code and look for more of these IsEmpty tests if this fixes your problem.
Maybe it should be a combination of IsEmpty and testing for zero length collection.
|
|