exists command - resolution

Dennis Malen dmalen at malen.com
Tue Dec 7 12:38:31 PST 2004


As usual I report back to the group once a resolution to the problem has been identified.

Facts: I am using an export ASCII command to create a file with an -a (append) as that file is being accessed numerous time during the day. The only difference this processing possessed of a normal append was the one time creation of a header for the purposes of pulling this final creation into excel for a client.

Problem: The header was not being created only the info on the file. The header was suppose to run first then the info on the file.

Resolution: It was only after numerous communications with the list that Brian White indicated he had a similar problem once. That was that the header was being over written. Upon further investigation and implementation that is exactly what had occurred. The "exists" command was working fine.

I redefined the import command using a different file identifier (export ASCII ???? =). That allowed me to open and close two different definitions (export commands) and write to the same file while remaining in the same record..

Remember, because I had to write a header (one time when the file did not exists or upon creation) I was making two passes while in the pertinent record. The two different definitions avoided the header from being overridden.

I hope this helps others.

As usual, thanks to everyone for their help and to Ken who was becoming very frustrated with me, which was evident by his responses.

Again, the power of filePro is still the best kept secret on the planet and it is up to us and the owners of filePro to change that.

Dennis Malen
516.479.5912
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20041207/5c3116e7/attachment.html


More information about the Filepro-list mailing list