Hi everyone,
Is it possible within a function to ignore one field by it's name? i.e not return any value.
The code I have already ignores the ID number by use of If, Else, Then
I was wondering if I could also exclude another field just by it's name?
Puffs
Is it possible within a function to ignore one field by it's name? i.e not return any value.
The code I have already ignores the ID number by use of If, Else, Then
Code:
With rst
For Each f In .Fields
If (f.Attributes And dbAutoIncrField) Then ' always skip the AutoNumber Primary Key
Else
clone.Fields(f.Name) = f
End If
Next f
End With
I was wondering if I could also exclude another field just by it's name?
Puffs