FoxPro/Visual FoxPro - NEO AMIGO ¿ME PUEDES ENVIAR EL EJEMPLO DE REPORTE?

 
Vista:

NEO AMIGO ¿ME PUEDES ENVIAR EL EJEMPLO DE REPORTE?

Publicado por HELDER MARTINEZ (711 intervenciones) el 18/03/2008 16:23:50
HOLA NEO YA INTENTE DE LA FORMA QUE ME DICES TU LO HICE DE ESTA FORMA;

PUBLIC cNom_cliente, cFoto, cFoto_identidad
cNom_cliente=ALLTRIM(thisform.grdClientes.column2.text1.Value)

SELECT clientes
SELECT distinct Identidad, nom_cliente, fecha, sexo, ocup_prof_ofic, estado_civil,;
nom_conyuge, pais, cod_pais, nacionalidad, domicilio, departamento, cod_depto, municipio,;
cod_muni, telefono_casa, telefono_celular, trabaja_empresa, nom_empresa, telefono_trabajo,;
e_mail, foto, foto_identidad FROM clientes;
ORDER BY nom_cliente where clientes.nom_cliente=alltrim(cNom_cliente) INTO CURSOR _clientes

STORE ALLTRIM(_clientes.foto) TO cFoto
STORE ALLTRIM(_clientes.foto_identidad) TO cFoto_identidad

SELECT _clientes
thisform.Hide
REPORT FORM c:invent_system eports pt_clientes.frx PREVIEW
thisform.Show

Y ASIGNE EL NOMBRE DE LAS VARIABLES A CADA UNO DE LOS OBJETOS DE IMAGEN OLE EN EL REPORTE, PERO ME LANZA EL MISMO MSG.

CREES QUE ME PUEDES ENVIAR TU EJEMPLO, POR FAVOR AMIGO ME URGE.
TE LO AGRADECERE MUCHO....

SALUDES
HELDER
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:NEO AMIGO ¿ME PUEDES ENVIAR EL EJEMPLO DE REPOR

Publicado por enrique (1041 intervenciones) el 18/03/2008 18:47:01
Prueba lo siguiente
1.- genera un reporte y ponle los campos y control de imagen que necesites.
2.- ponle a cada uno el nombre de la tabla CLIENTES
3.- abre propiedades del control de imagen y tida campo y pon el nombre respectivo
4.- luego haz una vista previa (boton derecho sobre el reporte) seleccionando esta tabla.

Si esto te funciona tienes un problema con el select, a lo cual te pregunto:
en el Select seleccionas todos los campos de la tabla?
si es asi prueba lo siguiente SELECT DISTINCT * FROM .... (resto de las instrucciones)
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

RE:NEO AMIGO ¿ME PUEDES ENVIAR EL EJEMPLO DE REPOR

Publicado por HELDER MARTINEZ (711 intervenciones) el 18/03/2008 23:10:38
GRACIAS ENRIQUE POR TU AYUDA MIL GRACIAS

SI CLARO SELECCIONO TODOS LOS CAMPOS DE LA TABLA,
LO QUE PASA ES QUE EN ESA TABLA ALMACENO MUCHOS REGISTROS CON IMAGENES, CUANDO EJECUTO EL REPORT CON UN REGISTRO SIN IMAGEN ME DA UN ERROR, "NO SE ENCUENTRA LA RUTA DEL ARCHIVO"...

GRACIASS
SALUDES
SEGUIRE INTENTANDO

HELDER
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

RE:NEO AMIGO ¿ME PUEDES ENVIAR EL EJEMPLO DE REPOR

Publicado por enrique (1041 intervenciones) el 19/03/2008 15:33:51
las imagenes las tienes dentro de un campo general o tienes un campo con una ruta a la imagen?
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