I have a URL that I access with a Product Code, e.g., http://www.myurl.com?F01
I am trying to remove the ? and use the result in a database query to pull up the info on the desired product.
Item = Location.Search
ProductID = Replace(Item,"?", "")
I get an "Object Required "error on the first statement.
I have looked at the VB code for both the Location and Replace statements and they seem correct.
Any help would be appreciated.
I am trying to remove the ? and use the result in a database query to pull up the info on the desired product.
Item = Location.Search
ProductID = Replace(Item,"?", "")
I get an "Object Required "error on the first statement.
I have looked at the VB code for both the Location and Replace statements and they seem correct.
Any help would be appreciated.