Access - Formulario - mostrar lista de datos

 
Vista:

Formulario - mostrar lista de datos

Publicado por DM09 (2 intervenciones) el 18/12/2009 20:28:44
Hola, me gustaría saber como en un formulario puedo crear un que me muestre un conjunto de valores los cuales yo ya tengo en consulta.

La intención es de esta tabla:

Fecha Producto precio cliente
01/02/09 0001 50 CL1
03/05/09 0002 20 CL2
05/06/09 0001 52 CL1

Sacar este formulario:

1 - Un campo donde introduces el nombre de tu cliente
2 - Un campo donde introduces el producto vendido
3 - Un campo donde no introduces ningún valor, solo te muestra una lista o tabla de con el precio del articulo y la fecha en que se le vendió

Algo así:

Cliente: CL1
Producto: 0001

Fecha/precio:
01/02/09 - 50€
05/06/09 - 52€

Pues esto es, agradeceré cualquier ayuda. Un saludo
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Formulario - mostrar lista de datos

Publicado por QUIQUE (293 intervenciones) el 18/12/2009 21:37:32
DEBES CREAR UNA CONSULTA DE SELECCION CON ESOS 4 CAMPOS Y EN CRITERIOS DEBES COLOCAR.
EN EL CAMPO CLIENTE - FORMS![NOMBRE DEL FORMULARIO]![TXT1] ,
SUPONIENDO QUE EL CUADRO DE TEXTO DE TU FORMULARIO SE LLAME TXT1. Y PARA EL CAMPO PRODUCTO LO MISMO PERO EL CUADRO DE TEXTO SERÁ TXT2 , ESTOS CUADROS DE TEXTO DEBERÁN SER INDEPENDIENTES.

POR ULTIMO COLOCAS UN SUBFORMULARIO DENTRO TU FORM CON ORIGEN EN LA CONSULTA EJ: SUBFORM_CLIENTEPRODUCTO Y UN BOTON QUE EN LA ACCION "AL HACER CLICK" DEBERÁ DECIR ME.TUSUBORMULARIO.REQUERY
AL HACER CLICK EN TU BOTON APARECERAN EN EL SUBFORMULARIO TODOS LOS RESULTADOS QUE SEAN COINCIDENTES CON TU SOLICITUD

QUIQUE
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar