MarrowGenx
MIS
I have the following sub that I would like to call multiple times within the code of another sub:
Public Sub DeleteTable(rsName As String)
rsName.MoveFirst
Do Until rsName.EOF = True
rsName.Delete
rsName.MoveFirst
Loop
End Sub
The rsName condition will contain the name of the recordset that I want to be affected. How can I alter this code to make this work?? I appreciate any help you can offer. Thanks.
Marrow
Public Sub DeleteTable(rsName As String)
rsName.MoveFirst
Do Until rsName.EOF = True
rsName.Delete
rsName.MoveFirst
Loop
End Sub
The rsName condition will contain the name of the recordset that I want to be affected. How can I alter this code to make this work?? I appreciate any help you can offer. Thanks.
Marrow