Private Sub ComboBox1_Change()
Dim holder As Stringholder = "SELECT KursNamn, KursID, Poäng FROM Elev WHERE KursID = " & DataCombo1.BoundColumnadoDatagridKurs.RecordSource = holder
End Sub
Hello!
I´m doing a courseschedule in VB but I seem to have stuck. I´m trying to fill a datagrid depending on what you choose from a combobox. I´m trying to manipulate the recordsource depending on what you choose with this code below. Only problem is that nothing happens and I get no errors during compile or runtime.
Can u see what´s wrong with it?
sHaKaZeD
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement