ajetrumpet
Banned
- Local time
- Yesterday, 19:05
- Joined
- Jun 22, 2007
- Messages
- 5,638
Here is yet another mind-boggling thread by the infamous non-IT professional...
I am trying to understand one idea, and I'm almost there. Here is what I don't understand: When I am printing field names, Case Sensitivity seems to be a factor. Assume my fields are called Field1, Field2, and Field3. This will print the field name Field1...
On the other hand, this code will not print the field name...
Does this Case-Sensitive issue have to do with the fact that I am referencing a property instead of an actual value? Thank you for any input on the issue.
I am trying to understand one idea, and I'm almost there. Here is what I don't understand: When I am printing field names, Case Sensitivity seems to be a factor. Assume my fields are called Field1, Field2, and Field3. This will print the field name Field1...
Code:
For Each fld In rs.Fields
x = fld.Name
If x = "Field1" Then
Debug.Print x
End If
Next fld
Code:
For Each fld In rs.Fields
x = fld.Name
If x = "field1" Then
Debug.Print x
End If
Next fld
Last edited: