Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/01/2008, 16:15
Avatar de GeoAvila
GeoAvila
Colaborador
 
Fecha de Ingreso: diciembre-2003
Ubicación: Antigua Guatemala
Mensajes: 4.032
Antigüedad: 21 años, 5 meses
Puntos: 53
Re: error en sintaxis

me corrió perfectamente... con estos parámetros

Código:
Dim Admintool As String
Dim txt_week As String
Admintool = "hola"
txt_week = "hola2"
Me.TextBox1.Text = " SELECT distinct(signature), department.name dept " & _
" From personnel, Department " & _
" Where dept_id = Department.id " & _
" AND department.name like '" & Admintool & "%' " & _
" AND active = 1 " & _
" AND signature not in ( SELECT distinct(signature) " & _
" From current_daily_entry, Department " & _
" Where user_dept_id = Department.id " & _
" AND week_id = " & txt_week & " " & _
" aNd department.name like '" & Admintool & "%' " & _
" and completed = 1 ) " & _
" ORDER BY signature " 
__________________
* Antes de preguntar lee las FAQ, y por favor no hagas preguntas en las FAQ
Sitio http://www.geoavila.com twitter: @GeoAvila