|
|
|
Tip #32 - Better INPUT Prompts (From the session on filePro Programming Tips by Nancy) data required.
Better yet offer a default right in the popup with new command. (5.0 only)
boy(@td-"380")-"1" - One day before the beginning of the year with the date 380 days before today. Should be 12/31/00 assuming today is "02/18"02" or any date in 2002. Another way to offer default information is to use PUSHKEY to type the information. The field must be one longer than the data to use this method, since filepro will automatically accept the data without pressing ENTER if the field is filled. That is why the yesno field was made 2 characters long instead of one.
The answer Y will already be displayed in that field and pressing ENTER will accept the input. Written by Nancy Palmquist at nlp@vss3.com Copyright, 2002 by Virtual Software Systems. All rights reserved. |