I'll keep this bookmarked also. I rarely do any ASP pages. But I had to write the contents of this guestbook form to a SQL Server table. It all works now.
Thanks,
Jerry
>You are welcome. I generally keep short-cut to the quick-ref section of this site close at hand.
>
>>Thanks, this is what I'm looking for.
>>
>>Jerry
>>
>>
>>>>I inherited an ASP page that defines 3 checkboxes that have the same name but different values. This page then posts the form vars to another ASP page which I use to capture all the form vars.
>>>>
>>>>I can capture the form vars, but the checkboxes come across as such:
>>>> "apples,oranges" or "oranges, grapes" or "apples,oranges,grapes"
>>>>
>>>>How can I determine what checkbox was checked from the passed in string? Is there an ATC() or SUBSTRING() function available?
>>>>
>>>>Thanks,
>>>>
>>>>Jerry
>>>
>>>In VBscript there is a function call InStr().
>>>
>>>
http://www.devguru.com/Technologies/vbscript/quickref/instr.html