You do not want to create a Stored Procedure in VB. The Stored Procedure resides in you database. If you are accessing the database via a network then you want to use stored procedures as much as possible. The stored procedure is compiled and executed on the server. You can execute a stored procedure from VB though using DAO, RDO, or ADO.