I want to use the caption property for fields in a recordset as a condition
in a loop. That is, I only want to consider those fields which have
captions:
For each fld in RecordsetName.F ields
If fld.Properties( "Caption") <"" then
do something
The problem is that all fields are included, even those with no caption set.
I've tried IsMissing, IsEmpty and IsNull for the test but none will filter
out those fields without a caption.
What is the default value for captions?
--
Bob Darlington
Brisbane
in a loop. That is, I only want to consider those fields which have
captions:
For each fld in RecordsetName.F ields
If fld.Properties( "Caption") <"" then
do something
The problem is that all fields are included, even those with no caption set.
I've tried IsMissing, IsEmpty and IsNull for the test but none will filter
out those fields without a caption.
What is the default value for captions?
--
Bob Darlington
Brisbane
Comment