FoxPro/Visual FoxPro - TOTAL DE UNA FACTURA

 
Vista:

TOTAL DE UNA FACTURA

Publicado por Hugo (1 intervención) el 01/06/2005 00:04:48
COMO PUEDO SABER EL TOTAL DE UNA FACTURA?SE SUPONE QUE ES UN CAMPO CALCULADO, PERO QUIERO SABER POR EJEMPLO EL TOTAL DE LA FACTURA #115
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
sin imagen de perfil

RE:TOTAL DE UNA FACTURA

Publicado por Manuel (344 intervenciones) el 01/06/2005 00:18:18
tuVariable='115' &&aquí colocas el número de factura que deseas totalizar
SELECT TuTabla
SUM TuCampoPrecio*TuCampoCantidad TO TuSuma FOR TuNumFactura=tuVariable
*Ahora tienes en la variable TuSuma el valor de la suma
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