Access - URGENTE. PROBLEMA CON UNA CONSULTA

 
Vista:

URGENTE. PROBLEMA CON UNA CONSULTA

Publicado por JUAN SERRANO (21 intervenciones) el 29/05/2001 08:51:50
COMO PUEDO CALCULAR UNA FECHA EN EL CRITERIO DE UNA CONSULTA. ME EXPLICO, TENGO LA FECHA DE NACIMIENTO DE UNOS CLIENTES Y QUIERO SABER TODOS LOS QUE TIENEN 25 AÑOS. A SER POSIBLE DESDE UNA CONSULTA, EN LA OPCION DE CRITERIOS.

OTRA DUDA COMO PUEDO CREAR UN BOTON PARA QUE AL PULSARLO ME MUESTRE UNA IMAGEN U OTRA.

GRACIAS DE ANTEMANO
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:URGENTE. PROBLEMA CON UNA CONSULTA

Publicado por Trustee (15 intervenciones) el 29/05/2001 12:12:36
Para saber los que tienen 25 años en criterios pues le restas la fecha de nacimiento a la fecha de hoy que es con el comado fecha( ), y apartir de hay pues otra consulat relacionada con es a consulta ó bien utlizas el comando iif en vista SQL que es para hacer una condicion compuesta.

Lo del boton no entiendo muy bien lo que quieres decir si lo que dices es que en un formulario pulsas un boton y te muestre una imagen eso es facil porque al crear un boton te sale un asistente.
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