Sqlquerystring con Crviewer

Miguel
05 de Junio del 2003
El problema que tengo es que la sql no me funciona( pero no da error)..y me sale el reporte con todos los registros y no solo el que yo le paso por el txt,es decir como si la sql estuviese vacia..soy novato con el crviewer y me esta volviendo loco esta tonteria...alguna ayuda??? gracias


Declaraciones
Dim Report As New CrystalReport5
---------------------
Private Sub Form_Load()

Report.SQLQueryString = "select * from trabajos where id=" txtid.text
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault