RULES. CSSN ScanShell 800, Scanshell.Net
إعلان
إعلان
Rules
14. RULES
Rules are automatic actions that the program performs when certain, predefined conditions are met.
Rules can be used for various purposes. The following are just few examples of the vast number of rules that can be created in Scanshell.net:
§
Alerts concerning expired ID cards, persons under legal age, badly paying customers, or any other kind of alert.
§
Automatic Export of data when certain criteria in records are met.
§
Automating application tasks such as saving data.
Scanshell.net User Guide © 2005 Card Scanning Solutions
95
Rules Creating rules
CREATING RULES
We will explain the use of rules by following an example of creating a rule that identifies expired ID cards, and produces an alert sound and message, informing the user that a scanned card has expired.
1.
Select Rule List from the Tools menu.
2.
Click
New
.
Figure 14-1: Rule Wizard window
3.
Type in a name for your rule. Try to choose a meaningful name.
4.
Select
Field content
in section 2.
Scanshell.net User Guide © 2005 Card Scanning Solutions
96
Rules
5.
Check
Display Message
, and
Play sound
in section 3.
Creating rules
Figure 14-2: Rule Wizard with selections according to the example in this chapter
6.
Click on the Field hyperlink in section 4.
Figure 14-3: Rule details section in the Rule Wizard
Scanshell.net User Guide © 2005 Card Scanning Solutions
97
Rules
The field content dialog will open:
Creating rules
Figure 14-4: Field content dialog box
7.
Select the module to which you want the rule to apply.
8.
Select the condition that defines your criteria. In this example, we will choose Greater or
Equa l.
9.
Select the field to which you want to apply the criteria. In this case, we choose Expiry Date .
Step 7
Step 8
Step 9
10.
Fill in the required value – in this case the required expiry date. Please note that the value type of this field changes according to the selected field type.
11.
Click OK.
12.
Click the Text hyperlink.
Step 10
13.
Type in the text you want to appear in the alert message into the message box, and click OK.
14.
Click the Sound File hyperlink
Figure 14-5: Sound file selection dialog box
Scanshell.net User Guide © 2005 Card Scanning Solutions
98
Rules
15.
Click
Browse
, select a sound file in .wav format, which you would like the application to play when the rule criteria is met, and click OK.
16.
Click the Test button to play this sound.
17.
Click OK to save your selection and close the sound-file dialog box.
18.
Verify the rule description in section 4. It should contain the following rule description:
Editing Rules
This rule specify that if the Expiry Date field in the IDscan module is equal or greater than 12/12/04, the application will display the message "This card has expired" and play the temp_.wav sound.
19.
When you are done, click OK to close the Rule Wizard.
20.
You will find the new rule you created in the Rule Manager window, where you can edit and delete it.
EDITING RULES
1.
Select Rule List from the Tools menu.
Figure 14-6: Rule list window
Scanshell.net User Guide © 2005 Card Scanning Solutions
99
Rules Deleting Rules
2.
Click on the rule you want to edit to select it, and then click
Edit
.
3.
Make changes as described in the previous section " Creating Rules" and click OK.
DELETING RULES
1.
Select Rule List from the Tools menu.
2.
Click on the rule you want to delete to select it, and then click Delete .
MANAGING RULES
You can activate rules or temporarily disable them, by checking and unchecking the boxes of the relevant rules in the Rules Manager window.
Scanshell.net User Guide © 2005 Card Scanning Solutions
100
Appendix A: Troubleshooting
15. APPENDIX A: TROUBLESHOOTING
Description
The New Record, Edit Record,
Delete Record and Scan button are not working
Records table list is invisible
Print setup and Print options are disabled
A new record cannot be added
The Scan button is not working
Explanation / Solution
No scanner is attached to the computer
The user does not have write privileges
The user does not have read privileges
The user does not have read privileges
No scanner is attached to the computer
The user does not have write privileges
The application is configured to be in
Auto Scan
mode
The application is configured to use a file or the magnetic reader as a scan source
I cannot see the record details at the bottom of the screen
I try to log- in but I always get a message saying that my password or user name are invalid
Any other problem or question
Verify that
View->Record Details
is selected
Verify that you have the right password and user name
Click the
Exit
button and run the application again
Send e- mail to
Scanshell.net
support team, see http://www.card-reader.com
Scanshell.net User Guide © 2005 Card Scanning Solutions
101
تنزيل
إعلان