What's the issue with it?
Issue to DLookup
Peter_1985
2,686
Reputation points
Hi,
How to resolve issue with DLookup to line below?
Public Function TblExists(ByVal strTableName As String) As Boolean
TblExists = False
If Not IsNull(DLookup("Name", "MSysObjects", "Name = " & Chr(34) & strTableName & Chr(34) & " AND Type = 1")) Then TblExists = True
End Function
4 answers
Sort by: Most helpful
-
-
Peter_1985 2,686 Reputation points
2021-05-06T03:39:47.303+00:00 I got issue below, to DLookup.
-
-
Peter_1985 2,686 Reputation points
2021-05-06T04:26:13.21+00:00 FYI
I want to validate if table "Week8-13" is existing within Access database. If that is not existing, then further copy details of T1 table into table "Week8-13".