I am modifying a search directory script. Currently one cannot move links from one category (ex. Artifacts) to another (ex. Battles). So, in order to fix this problem I have created a piece of code that goes on the edit link section which writes all of the possible category choices to a listbox on the page. Now, my problem is that sometimes I won't want to change a category...I'll just want to edit a link. So I've included a option for "Same Category" but I need an IF...THEN statement to decide whether the category id that is initially with the link should be selected or whether the newly selected category should be selected. So I need a way to do something that theoretically looks like this:<BR>Dim LinkCategoryID<BR>If LinkCategorySelect = (Same Category) THEN LinkCategoryID = LinkCategory<BR>Else LinkCategoryID = LinkCategorySelect<BR>End If<BR> What I will then do is tell the script to write LinkCategoryID to the category ID and thus change the category ID. Thanks for your help.<BR>Respectfully,<BR>David Mackey.