Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Type mismatch is displayed for .SET method (Blank value)
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
strFlightID = arrABC(FlightID) 'value from Access data table (blank)
If IsNull(strFlightID) Then
    strFlightID=""
End If
JavaWindow("A").JavaInternalFrame("Flight").JavaEdit("FlightField").Set(strFlightID)

Try to use the above code...While taking from Access it will give
strFlightID =Null
To avoid this try using the above code,i think it will solve your problem..

Kindly update on the progress..
Reply


Messages In This Thread
RE: Type mismatch is displayed for .SET method (Blank value) - by Arun Prakash - 07-19-2010, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "UFT has stopped working" is displayed during running the script kotaramamohana 0 1,323 08-24-2018, 01:07 PM
Last Post: kotaramamohana
Question Is there a way to create dynamic objects by declaring the type of object as parameter lotos 3 2,181 11-08-2017, 11:15 PM
Last Post: lotos
  array to be captured and displayed Anu209 0 1,242 06-24-2017, 10:19 AM
Last Post: Anu209
  Multiple 2 IE browsers are being displayed VA1405 1 1,876 01-15-2014, 07:20 AM
Last Post: basanth27
Sad QTP Script | how to get object of some open window just using its class type,Java sophia.sabir 1 8,864 08-07-2013, 01:26 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)