// Create all the data files described in the analysis // with the "PSW" password HCreationIfNotFound("*", "Password") // Open a file with password and error check IF HCreationIfNotFound(CUSTOMER) = False THEN Error("HFSQL error: " + HErrorInfo()) RETURN END // HErrorPassword is used to find out whether the error that occurred is a password error IF HCreationIfNotFound() = False THEN // Details of the error IF HErrorPassword() = True THEN Error("Invalid password") // Code to retry END END |