G
Guest
A column in a query:
Data: Eval(FieldName())
In a general Module:
Public Sub FieldName() As String
FieldName = "Name of Field"
End Sub
when run, the query should EVALUATE the name of the field returned in the
query and look up the value of that field for each record. Instead it puts
"Name of Field" in each record. Would not the purpose of evaluate be to
change from a string to code?
Data: Eval(FieldName())
In a general Module:
Public Sub FieldName() As String
FieldName = "Name of Field"
End Sub
when run, the query should EVALUATE the name of the field returned in the
query and look up the value of that field for each record. Instead it puts
"Name of Field" in each record. Would not the purpose of evaluate be to
change from a string to code?