Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - SettingLabels.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Please consider donating $1 per sample downloaded, (find out why here)

SettingLabels.mdb (intermediate)

 Post Reply Post Reply
Author
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: SettingLabels.mdb (intermediate)
    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
Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down