Description of a field

  • Thread starter Pierre-Yves Ste-Marie
  • 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
 
M

Marshall Barton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top