J
Jack
Set tdf = dbs1.TableDefs(strThis)
For Each fld In tdf.Fields
strFldNm = Trim(fld.Name)
varData = fld.Type
If varData = "Date/Time" Then
rstTBL![HasDateData] = -1
End If
Next fld
The above code is a snippet from a routine that searches every user table in
a database and looks for a DataType of 'Date/Time'. The return in the
immediate window is a 7 for varData. Is this a moniker or identifier for the
Field Type and if so where is a list to associate that with a type
description ie. 7 = Text. If not, what on earth is it?
For Each fld In tdf.Fields
strFldNm = Trim(fld.Name)
varData = fld.Type
If varData = "Date/Time" Then
rstTBL![HasDateData] = -1
End If
Next fld
The above code is a snippet from a routine that searches every user table in
a database and looks for a DataType of 'Date/Time'. The return in the
immediate window is a 7 for varData. Is this a moniker or identifier for the
Field Type and if so where is a list to associate that with a type
description ie. 7 = Text. If not, what on earth is it?