What is the control I have to put this under to disable the listbox when the button is activated?
if me.optAll.value = true then
cmbPrinter.enabled=false
else
cmbprinter.enabled=true
endif
Then you get a star my friend.. that first code worked like a champ.
ON THE BUTTON CLICK:
If optAll.Value = True Then
Me.txtPrinter.Value = "Like '*'"
Else
Me.txtPrinter.Value = Me.cmbPrinter.Value
End If
DoCmd.Requery PrinterQuery
[Forms]![frmPrinterQuery]![subPrinter].Visible = True
End Sub
Query Criteria:
[Forms]![frmPrinterQuery]![txtPrinter]
Ive scoured the boards for an application of what I'd like to do.. but i'm obviously missing something or going about it wrong..
So I have a list box on a form that has an indexed list of NAMES, that allows a selection of 1-4.. I also have a option button that, if selected, outputs all...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.