Paul
I THINK!!!!
If your table is in a database then you can use DBGETPROP() to get its caption, via its DataSource property.
Hence you can use this caption in the button's caption
e.g. in the caption prop. of the button
DBGETPROP( this.Datasource,"Field", "Caption")
I haven't tried it but I imagine it'll work (maybe with some tweaking)
HTH
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.