Description of a field

  • Thread starter Thread starter Pierre-Yves Ste-Marie
  • Start date Start date
P

Pierre-Yves Ste-Marie

Is it possible to retreive the descrion of a field in a table, in a report ?

Best regards
 
Pierre-Yves Ste-Marie said:
Is it possible to retreive the descrion of a field in a table, in a report ?


Use this chain of object references:

CurrentDb.TableDefs!tablename.Fields!fieldname.Properties!Description

If the field does not have a description property, you will
get a 3270 error so use error trapping to deal with it.
 
Back
Top