This should be easy, but not working. I've set up a form in Access 2003 which includes a label to give information associated with each record, e.g. the records fall into three categories and let the User know which category: if category A, then I make the label visible and want to show the caption statement; if category B, then again show the label but with different caption; if category C, make the label invisible because C is the normal category.
My code first checks the Category Code with a Select Case block; within this block I try to change the caption as follows:
Me!lblName.Caption = "Warning - this is Category A"
Me!lblName.visible = True
My code works fine in turning on and off the visible property, but the label always appear blank when visible is True.
Please help. I've read FAQ's, Google, MS Help, and searched threads. Even MS helps does not address changing the caption text of a label (it only shows back/fore color and border property changes). Thanks for any help.
Jeff
My code first checks the Category Code with a Select Case block; within this block I try to change the caption as follows:
Me!lblName.Caption = "Warning - this is Category A"
Me!lblName.visible = True
My code works fine in turning on and off the visible property, but the label always appear blank when visible is True.
Please help. I've read FAQ's, Google, MS Help, and searched threads. Even MS helps does not address changing the caption text of a label (it only shows back/fore color and border property changes). Thanks for any help.
Jeff