Jump to content
Sign in to follow this  

Search for a value

Recommended Posts

Hi folks

Does anyone have any scripts handy that can search for a value returned by a search

Basically I want to do the following on a web page:

enter the name e.g John Doe, click search, search returns 50 results, 10 per page

Using the persons address in a recordset, look through the addresses returned on page 1, if not there, click next, check next page until address is found then click on it.

Share this post

Link to post
Share on other sites


Please post what you have coded so far and give examples of what you are searching for.





in squared brackets to get syntax coloring here.

Regards, Rudi.

All I have so far is this:


$oIE = _IEAttach("Customer")

$oForm = _IEFormGetObjByName($oIE,"Form1")


_IEFormElementSetValue($oSurname, "Kelly")

$oQuery = _IEFormElementGetObjByName($oForm, "btnSearch")


;50 Results are returned, 10 per page

;This is where I need some sort of search function where the code will check through the results

;attach to the result that matches the address

;if it doesn't find any results on this page, it will click a 'Next' button on the page

;and search the next set of results

$oIE = _IEAttach("Customer")

_IELinkClickByText($oIE,"Test Address")

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...