|
||
|
|
|||||||
| Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
|
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
|
Thread Tools |
I'm making an exam generator with VB6 and I add items to several combos using SQL sentences. I hope you find it useful:
Private Function LoadComboData(tipo As Integer) As Integer If tipo = 1 Then SQL = "SELECT categoria.* FROM categoria ORDER BY categoria.ID" Set Consulta = DataBase.OpenRecordset(SQL, dbOpenDynaset) If Consulta.BOF And Consulta.EOF Then LoadComboData = 1 End if End Function Jam it back in, in the dark. |