Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Procedures and Functions
Message
From
07/05/2003 08:53:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using Procedures and Functions
Miscellaneous
Thread ID:
00785733
Message ID:
00785733
Views:
55
I am trying to find the best way since the way I have done things up to this point do not always work 100 percent.

For example I need to do six things:
1. Copy a file from one directory to another(current to archive)
2. Use Acrobat automation to mark the archive file 'Historical'.
3. Delete the current file.
4. Copy the new file(working to current)
5. Use Acrobat automation to mark the current file 'Released'.
6. Delete the working file.

I have all this working but not very efficently. Some times I get an error because a file is not released before preforming an action on it.

My main question is should FOpen/FClose be done within the procedure or at the calling program level?
Next
Reply
Map
View

Click here to load this message in the networking platform