A Problem Using Filepro
Mike Schwartz
mschw at athenet.net
Tue Apr 16 16:36:32 PDT 2013
> I suspect that the guy that normally adds new members, who is not
> computer literate, and hits the "ESC" button to save the record, and the
> screen comes up with a blank record, that the guy hits the "ESC" button
> again, which adds a blank record. But I have not been able to prove this.
> Also, the blank records seem to appear, somewhere, within the file, not at
> the end of the file. I just realized that I should have included this
> information in my first email. Sorry.
>
> Harold
You might want to consider including at least one "must-fill" field in
each screen so that users can't accidentally add any blank records. I make
it a practice to do that on nearly every screen I design. (To make a
"must-fill" field, just replace the * if front of any of the fields on the
screen with a % sign. Pick a field that always will be filled in, like
"Last Name".)
Also, it's quite easy to add some @keyD processing to prevent users
from accidentally deleting members. Here is some sample code:
@keyD: if:
Then: msgbox "Deletion Not Permitted from this screen!"; end
Or, to password the deletion process, do this:
@keyD:
Then: inputpw popup("10","-1") pw "Enter password for deletion "
If: pw = "" or pw ne "DumpRec"
Then: end
If:
Then: delete; end
Hope that helps!
Mike Schwartz
More information about the Filepro-list
mailing list