FoxPro/Visual FoxPro - 4 CONDICIONES ...

 
Vista:

4 CONDICIONES ...

Publicado por JM (503 intervenciones) el 05/03/2007 18:04:57
Hola .... necesito utilizar 4 condiciones en DYNAMICFORECOLOR ...
Con IIF utilizo solo 2 ...
¿Como podria diseñar este dilema?

codificones:
DO case
CASE apuntes.saldo<0.and.apuntes.punteo=.t.
fColor=RGB(255,100,100)
CASE apuntes.saldo<0.and.apuntes.punteo=.f.
fColor=RGB(255,0,0)
CASE apuntes.saldo>=0.and.apuntes.punteo=.t.
fColor)=RGB(128,128,128)
CASE apuntes.saldo>=0.and.apuntes.punteo=.f.
fColor=RGB(0,0,0)
ENDCASE
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:4 CONDICIONES ...

Publicado por Ernesto Hernandez (4623 intervenciones) el 05/03/2007 18:07:39
http://www.portalfox.com/index.php?name=News&file=article&sid=1829&mode=nested&order=0&thold=0


Suerte
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:4 CONDICIONES ...

Publicado por Plinio (7841 intervenciones) el 06/03/2007 00:34:52
IIF(apuntes.saldo<0.and.apuntes.punteo=.t.,fColor=RGB(255,100,100),IIF(apuntes.saldo<0.and.apuntes.punteo=.f.
fColor=RGB(255,0,0),IIF(apuntes.saldo>=0.and.apuntes.punteo=.t.,fColor=RGB(128,128,128),
fColor=RGB(0,0,0) )))

Si te da error es por algun parentesis
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