S
Shawna
Hi there,
Can anyone shed some light on this....
My Sub-routine is declared as follows
Public Sub ImportFile(strPath As String)
The cmd button code is as follows
Private Sub Command5_Click()
On Error GoTo Err_cmdImport_Click
Dim strPath As String
strPath = "C:\5153.txt"
ImportFile (strPath)
Exit_cmdImport_Click:
Exit Sub
Err_cmdImport_Click:
MsgBox Err.description
Resume Exit_cmdImport_Click
End Sub
When I click the cmd button to run, I get Invalid
Argument msg and that's it.
Also, Dim db as Database, rs as Recordset fails to
compile, message is user-defined type not defined and the
cursor highlights db as Database? Any thoughts?
Thanks for help....
Shawna
Can anyone shed some light on this....
My Sub-routine is declared as follows
Public Sub ImportFile(strPath As String)
The cmd button code is as follows
Private Sub Command5_Click()
On Error GoTo Err_cmdImport_Click
Dim strPath As String
strPath = "C:\5153.txt"
ImportFile (strPath)
Exit_cmdImport_Click:
Exit Sub
Err_cmdImport_Click:
MsgBox Err.description
Resume Exit_cmdImport_Click
End Sub
When I click the cmd button to run, I get Invalid
Argument msg and that's it.
Also, Dim db as Database, rs as Recordset fails to
compile, message is user-defined type not defined and the
cursor highlights db as Database? Any thoughts?
Thanks for help....
Shawna