Sorry if this is a dup. Did not see anything else talking about this problem in other posts. I have a script that runs a find for me. Below is a basic of what the script is doing, or at least what I want it to do..
Error capture on
Enter find mode
Paste data1 to field1
Paste data2 to field2
Perform Find.
If current error = 401
then set field in another database to 0
else
set field in another database to = summary field from current database.
end if.
If I make it so that there are records to be found it works fine. If there is no records then the script dumps out and does not work. This is part of a monthly report and it is not practicle to load a few dummy records for each month. What am I doing wrong that this does not work?
Thanks in advance for any help.
Philip Honnold
Error capture on
Enter find mode
Paste data1 to field1
Paste data2 to field2
Perform Find.
If current error = 401
then set field in another database to 0
else
set field in another database to = summary field from current database.
end if.
If I make it so that there are records to be found it works fine. If there is no records then the script dumps out and does not work. This is part of a monthly report and it is not practicle to load a few dummy records for each month. What am I doing wrong that this does not work?
Thanks in advance for any help.
Philip Honnold