On my form, I have many labels. Each label's name is like 23SW001, 23SW002..and so on.
Then i also have an access database that has a table name tblWorkstation. Then what i want is, if the form loads, it will compare all of the label names to my database. If the label name does not exist in my database. I will change the labels background property.

Get all the lable names into list and compare with Database list.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.