SettingLabels.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 22 Jul 2008 at 10:47pm |
Please consider donating $1 per sample downloaded, find out why here.
SettingLabels.mdb This form gets the values of the labels from the Description of the Field in the table.
Method 1: shamelessly stolen from Duane Hookom, thanks Duane. It uses the fact that when a label is attached to a textbox, the label's properties are in the parent's collection. It requires labels be attached to the text box Method 2: uses the Tag property of the both the textbox and label. You must put the same number in corresponding textbox/label controls. It does not require that the labels be attached to the text boxes. Download
Access 97 (30 KB): uploads/5/SettingLabels97.zip Access 2000 (26 KB): uploads/5/SettingLabels2k.zip |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |