I have this code currently..
Set DatabaseField = session
("oRpt"
.Database.Tables.Item(1).Fields.Item
(1)
session
("oRpt"
.RecordSortFields.Add
DatabaseField, 1
But the value I`m going to have to be able
to sort by is the field name, not its
ordinal.
Is there a way to add this sort by field
name or grab the field Object by knowing
its name?
Set DatabaseField = session
("oRpt"
(1)
session
("oRpt"
DatabaseField, 1
But the value I`m going to have to be able
to sort by is the field name, not its
ordinal.
Is there a way to add this sort by field
name or grab the field Object by knowing
its name?