Of course (again), since it is not DYNAMIC, it does not expect an evaluated condition.
I hate Mondays... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 2008-07-21 10:56 AM To: [EMAIL PROTECTED] Subject: RE: SetAll("FontItalic" - SOLVED (sorry!) Of course, as soon as I hit SEND, I notice that it should have been DYNAMICfontitalic. Still, why would 2&3 fail but not 4? Note: Changing it to Dynamic DID resolve. This is now just a curiosity question. Henry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 2008-07-21 10:52 AM To: [EMAIL PROTECTED] Subject: SetAll("FontItalic" Hello all, These 4 statements are in the INIT of a grid. Any idea why statements 1&4 work and 2&3 do not? Why won't FontItalic take an expression that evaluates to a logical? ERROR: "Data type is invalid for this property" *1 This.SetAll("DynamicBackColor", ; "Icase(vConfCurrent.Role=[A],Rgb(150,255,255),vConfCurrent.Role=[V],Rgb(255,205,205),Rgb(255,255,255))", "Column") *2 This.SetAll("FontItalic", ; "Icase(vConfCurrent.Role=[A],.F.,vConfCurrent.Role=[V],.T.,.F.)", "Column") *3 This.SetAll("FontItalic", ; "Iif(vConfCurrent.Role=[A],.F.,.T.)", "Column") *4 This.SetAll("FontItalic",.T.,"Column") What am I missing? Thx, Henry [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.