Jump to content

Recommended Posts

Posted

I need to be able to change the contents of a label based on what is selected in a list box. Here's what I have so far:

 

Private Sub List5_AfterUpdate()
   label_pupilname.Caption = List5.SOMETHING
End Sub

 

How do I get a particular field from the list box?

 

Cheers.

Posted
Cheers for the reply. That's what I attempted initially, but then had to incorporate it into an sql call as the value returned was the id.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...