Hi,
I'm having 2 functions in my application in two different modules .
They are as follows.
Public Function GetNextNumber() As Variant
Dim strSQL As String
Dim rs As Recordset
GetNextNumber= Null
// creating sql to execute MYSP stored procedures with 2 parameteres
strSQL =...