Combo Box and Command Button

  • Thread starter Thread starter SeRene
  • Start date Start date
S

SeRene

Hi,

I am trying to automate some processes in my database.
How can i allow the user to select one of the items in a
combox box and then upon selection, the user can click on
the command button "Go" and the records in the selected
item will be appended to another table.

I need help on this badly.
Thanks!
 
In the AfterUpdate() event of the Combo box. It sounds like you are
disabling the "Go" button so this is where you would enable it. (see code
sample below)


Private Sub Combo1_AfterUpdate()

' If the command button is disabled, enable now.
Me.Command1.Enabled = True

End Sub


HTH

--
Rob

FMS Professional Solutions Group
http://www.fmsinc.com/consulting

Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
Hi,

Disable the command button?? No no... i've this combo box
with a list of tables. I have to allow the user to select
any of the table from the combo box and with a click of
the command button, the database application
can "recognise" the table selected and append the records
in that table into another table.

This is what i need!
 
Back
Top