


Any succeeding true (.T.) CASE expressions are ignored. These are the first commands whose CASE expression evaluates to true (.T.). If a CASE expression is false (.F.), the set of commands following it up to the next CASE clause is ignored.Execution then resumes with the first command following ENDCASE. Execution of the set of commands continues until the next CASE or ENDCASE is reached. When the first true (.T.) CASE expression is encountered, the set of commands following it is executed.If the first one is true it will do it and non of the rest and so on By looking at your code it should work fine using a case Select lname, fname, mname, account, address1, Įlif ( NOT (isblank(thisform.txt_dob.value)))Įlif ( NOT (isblank(thisform.txt_chart.value)))Įndif RE: if - elif -elif -else PaulBarbeau (Programmer) 9 Jul 02 21:46ĭo not understand why CASE would not work for you. If (NOT((isblank(thisform.txt_lname.value)) AND Does FoxPro support any other loops without using multiple nested if statements The case won't work with the way I have the if currently coded (see below).
