I have the following questions:
How I can run and create a grid with a SQL statement like: “SELECT docentes.id_numero, p_nombre,s_nombre, p_apellido, s_apellido,anio_periodo, dedicacion FROM docentes, participantes WHERE anio_periodo=’$variable[anio]’ and docentes.id_numero=participantes.id_numero and docentes.dedicacion=’$ variable [ded]’ and docentes.id_numero not in (select id_numero from docentes where anio_periodo=’$variable[anio2]’) order by p_apellido”;
and display the result in a grid according to the parameters that I send (can be a filter that runs when you start a grid) would be the only help i would ask you, almost everything else is in their tutorials. Recommend focusing on how to pass variables to grid or SQL directly, you could make a tutorial for these.
And if you have a tutorial please send me a link.
Greetings hope your prompt response and thank you for your help.
Es que tengo la siguiente duda:
C?mo puedo ejecutar y crear una grid con una sentencia SQL como: “SELECT docentes.id_numero, p_nombre,s_nombre, p_apellido, s_apellido,anio_periodo, dedicacion FROM docentes, participantes WHERE anio_periodo=’$variable[anio]’ and docentes.id_numero=participantes.id_numero and docentes.dedicacion=’$ variable [ded]’ and docentes.id_numero not in (select id_numero from docentes where anio_periodo=’$variable[anio2]’) order by p_apellido”;
y que me despliegue en una grid el resultado de acuerdo a los par?metros que le env?o (puede ser un filtro que se ejecuta al iniciar una grid) ser?a la ?nica ayuda que pedir?a casi todo lo demas esta en sus tutoriales. Recomendar?a enfocar en como pasar variables a grid o a las SQL directamente, podr?an hacer un tutorial de estos.
Y si ya tienen un tutorial por favor enviarme un link.
Saludos espero su pronta respuesta y agradezco su ayuda.