FoxPro/Visual FoxPro - BUG EN EN QUERY DE REPORTE

 
Vista:
sin imagen de perfil

BUG EN EN QUERY DE REPORTE

Publicado por ROLANDO (1 intervención) el 05/07/2016 01:42:12
gcpthxx="c:\informe\"
Messagebox('Preparar Archivo en Excell' , gTitulo)

SET CENTURY on
SET DATE TO french


Select b.CodigoCredito,c.cvesocio as expediente, c.cvesexo, c.nrc as ordend,c.acopai,;
b.poligono as nocobrar, b.cveestadocredito,c.conocidopor,c.telefono,b.fechaaprobacion,;
b.FechaVencimiento,b.fechaultimopago,b.cvedestino,a.cveTipoCredito,;
a.Nombre,b.capitaldesembolsado-b.capitalpagado As Saldo,b.capitaldesembolsado,;
b.calk,b.diask,b.tasa,b.ccodcta,b.reserva,b.cveejecutivo,I.Nombre As ejecutivo,;
b.morak,b.interes,b.intmora,b.cvecliente,b.mes As plazo,b.cveclasificacion,;
Iif(mes<=12,"CORTO PLAZO","LARGOPLAZO") As CPLAZO,b.CuentaContable,d.cvedireccion,;
F.Nombre As nomdepto,g.Nombre As nommuni,h.Nombre As colonia,;
e.informacionadicional,Year(fechaaprobacion) As anual,Month(fechaaprobacion) As mes,;
b.fcierre, b.congelar, b.congelarcte, b.fcongelar, b.fsanea,J.NOMBRE AS GESTOR,h.riesgo,k.nombre as destino;
FROM gPathCredito+"tipocredito" a,gPathCredito+"credito" b,gPathCliente+"cliente" c,;
gPathCliente+"clientedireccion" d ,;
gPathCliente+"direccion" e,gPathCliente+"departamento" F,gPathCliente+"municipio" g,;
gPathCliente+"colonia" h,gPathCredito+"vendedor" I,gPathCredito+"GESTOR" J,gPathCredito+"destino" K;
WHERE a.cveTipoCredito=b.cveTipoCredito And( b.cveEstadocredito=4 OR b.cveEstadocredito=8) And;
b.cvecliente=c.cvecliente And b.cvecliente=d.cvecliente And d.estaactiva=.T. And;
d.cvedireccion=e.cvedireccion And e.cvedepartamento=F.cvedepartamento And e.cvemunicipio=g.cvemunicipio And ;
e.cvecolonia=h.cvecolonia And b.cveejecutivo=I.cvevendedor AND B.CVEGESTOR=J.CVEGESTOR AND b.cvedestino=k.cvedestino;
Into Cursor algo Order By b.cvecliente


Copy To gcpthxx+"cartera_general" Type Xls

Close Databases All
Messagebox('Proceso Concluido' , gTitulo)

ME REALIZA TODO EL PROBLEMA ESTA ES QUE CUANDO GENERO DE NUEVO ME ESCONDE LAS CUANTAS CON ESTATUS SANEADAS VENCIDAS QUE PUEDO HACER Y EN DONDE PUEDO MODIFICAR GRACIAS
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