Local lcDefaultDir, lcDesktop lcDefaultDir=Sys(5)+Sys(2003) lcDesktop=Thisform.zgetdir(4) &&returns the path to the computer’s desktop folder Set Default To (lcDesktop) DoDefault() Set Default To (lcDefaultDir) Local lcPath lcPath=This.Parent.cvalueThe problem I am having is, even if the user presses the cancel button, lcPath is returning a value.