D
DrPooky
This should be simple but so far is problematic. I'm coding a form with a
combo box that allows a user to select a value that then opens a list box
with the values. Essentially cboKey1 is set to be the value I want the user
to select. This populates lstRecipe by using a SQL query. All this works
fine. My problem is that I also want to total a single column in lstRecipe
to verify that it adds up to 100. I can do this with combo and list boxes
but how do I set a text box = SQL query? Whenever I use Me.txtTest = "SELECT
Count(*) blah blah blah" it does nothing. I have run into this in the past
and just used combo/list boxes where I can mod the RowSource...but isn't
there a way to do this with text boxes too?
combo box that allows a user to select a value that then opens a list box
with the values. Essentially cboKey1 is set to be the value I want the user
to select. This populates lstRecipe by using a SQL query. All this works
fine. My problem is that I also want to total a single column in lstRecipe
to verify that it adds up to 100. I can do this with combo and list boxes
but how do I set a text box = SQL query? Whenever I use Me.txtTest = "SELECT
Count(*) blah blah blah" it does nothing. I have run into this in the past
and just used combo/list boxes where I can mod the RowSource...but isn't
there a way to do this with text boxes too?