P
Pierre
Hi all,
I have
Public Function OpenForSeekDbf(Tablename As String) As Recordset
Set Openforseek = DBEngine.Workspaces(0).OpenDatabase _
("dBase III;HDR=NO;IMEX=2;" +
Mid(CurrentDb().TableDefs(Tablename).Connect, 25) _
, False, False, "").OpenRecordset(Tablename,
dbOpenTable)
End Function
if i call set rst=openforseek("01employe")
i have an error message invalid file name
Any clue why?
regards,
Pierre
I have
Public Function OpenForSeekDbf(Tablename As String) As Recordset
Set Openforseek = DBEngine.Workspaces(0).OpenDatabase _
("dBase III;HDR=NO;IMEX=2;" +
Mid(CurrentDb().TableDefs(Tablename).Connect, 25) _
, False, False, "").OpenRecordset(Tablename,
dbOpenTable)
End Function
if i call set rst=openforseek("01employe")
i have an error message invalid file name
Any clue why?
regards,
Pierre