Hello,
I have an unbound listbox and some unbound text boxes.
I am attempting to create code that will fill in the text boxes depending on which record I select within the list box.
The listbox does not have multi select on, only single select is possible.
I found listBox.Value which gives me the primary key which is nice, its something.
I have attempted several ways of things I have found online with no luck on how to get the remaining information into the other text boxes.
I have seen a for loop to find the one that is selected then using the listboxControl.Column(intColumn,intRow) but I obviously don't understand how to implement it.
The other option is to use a query but I am apparently doing that incorrect as well.
The query:
Code:
"SELECT [Student].[firstName] WHERE [Student].[SSID] = studentList.Value;"
I think this is the correct query but I cant seem to implement it either.
If you need/want any of how the code looks now please let me know. I know you don't want people saying "tell me how to do it." So if you have any resources I am good reading up further on it, I just cant find a place that I can get the required info. =)
Any help would be greatly appreciated.
-Bahalzamon