Problema con SetAll VFP
Tengo un problema cuando agrego un IIF anidado dentro del SetAll
Cuando ingreso esto todo funciona con normalidad
This.SetAll("DynamicBackColor","iif(Detcta.Id='X' or Detcta.Id='P',rgb(202,255,228),;
iif(detcta.id='F',rgb(230,209,237),iif(detcta.id='N',rgb(255,193,193),;
iif(detcta.id='B',rgb(134,193,210),iif(detcta.id='E',rgb(255,255,176),;
iif(detcta.id='S',rgb(215,170,85),iif(detcta.id='C',,)))))))","Column")
Pero cuando meto los RGB dentro del ultimo IIF me sale el error "NO SE RECONOCE EL VERBO DE COMANDO"
This.SetAll("DynamicBackColor","iif(Detcta.Id='X' or Detcta.Id='P',rgb(202,255,228),;
iif(detcta.id='F',rgb(230,209,237),iif(detcta.id='N',rgb(255,193,193),;
iif(detcta.id='B',rgb(134,193,210),iif(detcta.id='E',rgb(255,255,176),;
iif(detcta.id='S',rgb(215,170,85),iif(detcta.id='C',rgb(30,144,255),rgb(255,255,255))))))))","Column")
Muchas gracias a quien pueda ayudarme.
Un Saludo
Cuando ingreso esto todo funciona con normalidad
This.SetAll("DynamicBackColor","iif(Detcta.Id='X' or Detcta.Id='P',rgb(202,255,228),;
iif(detcta.id='F',rgb(230,209,237),iif(detcta.id='N',rgb(255,193,193),;
iif(detcta.id='B',rgb(134,193,210),iif(detcta.id='E',rgb(255,255,176),;
iif(detcta.id='S',rgb(215,170,85),iif(detcta.id='C',,)))))))","Column")
Pero cuando meto los RGB dentro del ultimo IIF me sale el error "NO SE RECONOCE EL VERBO DE COMANDO"
This.SetAll("DynamicBackColor","iif(Detcta.Id='X' or Detcta.Id='P',rgb(202,255,228),;
iif(detcta.id='F',rgb(230,209,237),iif(detcta.id='N',rgb(255,193,193),;
iif(detcta.id='B',rgb(134,193,210),iif(detcta.id='E',rgb(255,255,176),;
iif(detcta.id='S',rgb(215,170,85),iif(detcta.id='C',rgb(30,144,255),rgb(255,255,255))))))))","Column")
Muchas gracias a quien pueda ayudarme.
Un Saludo