Re: SearchFile


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on August 05, 2020 at 13:43:29:

In Reply to: Re: SearchFile posted by Grant E Foraker on August 05, 2020 at 11:24:51:

I must say that is some of the neatest code I have ever seen! Nice! Too bad it doesn't work :-)

I don't see anything obviously wrong with the program. I even wrote my own test program trying to mimic what I think you're doing and it worked fine. Your program is acting like the file is not getting closed and reopened before the last 2 searches - but I can't tell from your post if these were 3 different runs of your program or just 3 tests in the same run.

Did you try just searching for "01/06/2020" as your first search?
Did you try setting the FLAGS to 0 when you're doing the first search for a new string? (close/open should do it however)
Have you put in logging to verify all the SearchFile parameters have the values you think they do?
Since you didn't include the code for "ProgramError" I can't tell what would happen if you got something other than E02. I presume that didn't happen?

Without actually being able to run the program that's all I can think of for now.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]