Everytime i try and compile the program it gives me an error saying:
The piece of code where the error is cumin from is this:compile error:
variable not defined
VB Code:
Public Sub UpdatecboProductID() Adodc1.Recordset.MoveFirst Do While Not Adodc1.Recordset.EOF cboProductId.AddItem Adodc1.Recordset.Fields("ProductID") Adodc1.Recordset.MoveNext Loop Adodc1.Recordset.MoveFirst End Sub
it saying this is not defined:
VB Code:
cboProductId
anyone has any ideas?




Reply With Quote