04-25-2014, 07:01 AM
Try to use the debugger to debug the issue. You can then trace the flow and observe the variable values.
it could be an issue with blank cell on datatable or simply the inability for the object to set the value. When it traverses the If loop check if the value is returned from the datatable as such,
Do you get a value you intend to set displayed in the msgbox? If yes, then you may need to learn about Settings.Webpackage("ReplayType").
If a blank value is being displayed then you may want to check your datatable and the cell it is fetching the value from.
it could be an issue with blank cell on datatable or simply the inability for the object to set the value. When it traverses the If loop check if the value is returned from the datatable as such,
Code:
If DataTable("p_CarOwner", dtLocalSheet) = "OTHER" Then
msgbox DataTable("p_OtherOwner", dtLocalSheet)
Browser("Browser").Page("Form").WebEdit("ctl00$ContentPlaceHolderEForms_11").Set DataTable("p_OtherOwner", dtLocalSheet)
End If
Do you get a value you intend to set displayed in the msgbox? If yes, then you may need to learn about Settings.Webpackage("ReplayType").
If a blank value is being displayed then you may want to check your datatable and the cell it is fetching the value from.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.