You can build dynamic SQL in sproc and excute it with EXECUTE() command or sp_executesql stored procedure.
>I want to move to a certain record in a sql table.
>The fieldname to look in is coming from a combobox, the value is coming from a textbox.
>
>Can i pass the fieldname and value to a stored procedure, that the field in wich i wanto search is a parameter and also the value that i'm looking for?
--sb--