error when i specify reports and exact in match stage ?

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
gsym
Charter Member
Charter Member
Posts: 118
Joined: Thu Feb 02, 2006 3:05 pm

error when i specify reports and exact in match stage ?

Post by gsym »

Hi

when i specify reports and exacts in match stage, i get

"
run time error '91':

object variable or with block variable not set
"
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Any time you see that it's bad code in the client software. It's a Windows error indicating that the programmer has used a short cut, naming the property/method without its object, and it's backfired because there's a path through the code in which the object is not set. For example the following would be valid code because the unqualified references to properties and methods are within a "With" block that identifies the object.

Code: Select all

With objSession Do
   .Transport="TCP"
   .Hostname="127.0.0.1"
   .User=Screen2.UserField.Text
   .Password=Screen2.PwdField.Text
   .Connect
End
It may also be the case that the object has failed to be created, and the programmer has not checked for this.

Report it as a bug, but it may be an intermittent one.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply