the data is not showing in labels when user click on another product in my list in combo box .only one data is displaying for all products.hoe i can set the data in labels from table according to user click on that product.
i want to display my data from table in labels acording to user click item
Collapse
X
-
Labels can't be bound to a data source, so you have two options. I would probably use textboxes and change the Locked property to True and the Enabled property to false and then change the background, border style, etc. properties to make it look like a label. Then you can bind the textbox to a control source and then Access takes care of displaying the appropriate data.
The other way would be to manually set the caption of the labels in code.
Comment