Ok,

When my ASp page loads I want it to grab the IP address of the user and then comapre that to a table in the DB. A query will be ran and I will at that point know the office number of the person's PC. According to that office number I then want to run a query that will show a phone list for them. I have the queries that pull the information that I want but the hard part is telling the ASP page to run this query when it loads and then these queries when they select options out fo the drop down box...Help...