Hi I am trying to get an value to an unbound textbox in a form, but something in my query just returns the "query statement" it selfe in the textbox.
it looks like this:
So the value i get in the textbox is: "SELECT tblPump.... etc"
it looks like this:
Code:
Me.Pumptyp.Value = "SELECT tblPumpsorter.Pumpnamn" & _
"FROM tblPumpsorter" & _
"WHERE tblPumpsorter.id =" & _
"(SELECT tblPumpgropar.Pumpsort FROM tblPumpgropar" & _
"WHERE tblPumpgropar.Pumpgrop = '" & Me.Pumpgrop.Value & "');"