>>Cristal clear with a JS mindset: in a boolean expression, JS coerces to
true anything that exists and is neither empty, undefined or null, to
false otherwise
>>
>I know that, but the mix of the && and || still confuses me.
you can add this comment: "if this form or parent form is not dirty"
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)