I'm migrating my databases from MS Access 2000 to MS SQL Server 7.0, but I also want to move my functions that currently exist in MS Access Modules, because the process is too slow from Access and with a Stored Procedure I can schedule it at night as well. I was approaching the idea of creating my functions in Visual Basic 6.0, then creating a dll, then call the function from a Extended Stored Procedure. Does everyone know the process or the code required to do this?