Hi fred
I changed the column count to 2 but have no effect
Esctarea is a query does this matter?
Here is the SQL view of the query
SELECT Students.IDstudent, [nombre] & " " & [apellidop] & " " & [apellidom]
AS estudiante, [tareas estudiantes].ss, Students.Grupo, Students.Nombre,
Students.ApellidoP, Students.ApellidoM, Students.activo, [tareas
estudiantes].fecha, [tareas estudiantes].esptarea, [tareas
estudiantes].puntos, [tareas estudiantes].valor, ([puntos]/[valor]) AS
[Percent], caltareas([Percent]) AS [Nota test]
FROM Students INNER JOIN [tareas estudiantes] ON (Students.ss = [tareas
estudiantes].ss) AND (Students.ss = [tareas estudiantes].ss)
WHERE (((Students.IDstudent)=[forms]![paramform]![cbofind]) AND
((Students.activo)=True))
ORDER BY [nombre] & " " & [apellidop] & " " & [apellidom], Students.Grupo;
I changed the rowsource with yours but not have effect too?
I made an testdatabase with only the items related If you want i can send a
copy is small
Herman
On Wed, 17 Nov 2004 08:38:34 -0400, hermie wrote:
Hi Jeff
I can see the combobox but not its contents
Here are the steps I did.
1. create unbound form with combo box
2. set combobox row source properties (select
esctarea.IDstudent,esctarea.estudiante FROM esctarea

3. named combo box 'cbofind'
4 set bound column to 1 and column width to 0",1"
5 add an command button with click property me.visible = false
6 saved form as ParamForm
In this fase when I open the form I see the combobox and commandbutton
but
the combox not have data
Next step
In the query (esctarea) i put in field IDstduent
forms!ParamForm!cbofind
In the reports on open event I put: DoCmd.Openform "ParaForm", , , , ,
acDialog
In the reports on close event I put: DoCmd.Close acForm, "ParaForm"
When I open now the report the form ParamForm opens and cannot selct
nothing
in the combobox???
Hope my steps are clear to you
Herman
** snipped **
Hermie,
1) Did you also set the Column Count property to 2
2) Is esctarea the name of the table that the fields IDstudent and
estudiante are in?
Change the combo box Row Source to (all on one line):
select esctarea.IDstudent,esctarea.estudiante FROM esctarea Where
esctarea.IDstudent = forms!ParamForm!cbofind;
After you write the above directly on the combo box RowSource line
click on the button with the 3 dots that appears on that line.
Run the query that appears.
You should get prompted for the ID?
After entering a valid ID do you get the correct records returned?
If so, your rowsourse is OK. If not you have improperly written the
SQL, or you have no records to display for that ID.
You'll have to 'fix' it.