Posted by Grant Foraker on January 05, 2012 at 13:43:29:
In Reply to: Document Manager API...> posted by Tom Fulton on January 05, 2012 at 13:01:46:
Comet Woman has suggested that you make the DocMgr index file a multi-keyed file and the second index would be your Order Number.
I've gone a different route. Because DocMgr has DELETE and CLEAR options, I consider it a "temporary" archive. Outside of Comet in a shared folder on the server, I've created a folder, something like, \\server\cometarc\orders, where orders are kept "forever". Users are blocked from seeing this directory via Windows Explorer. The files have names like 123456-00.pdf. Inside Comet, I have a cross-reference file keyed by Customer# + Order#. The data has a few other date and info fields for the display. I wrote a Windows pop up which can be launched from various programs that displays the customer's orders in descending order. If the user selects an order and clicks VIEW (or double clicks), the pdf is copied to the users TMP directory via CopyFile and viewed via a LAUNCH.
-------------------------------------------------------------------------------------------
The INC files in NEWPRJ.IBS are minor and full of stuff you don't need to run the program.
^CUSTOM.INC contains old Solutions stuff like SEL$ and new stuff like my variables for MSGBOX.
^CPL90.INC is just a (Screen=90,32)
^PROGERR.INC is just a moderized version of old, standard ERRORTO 9800
Version 2010.04.02 works with UE15 and UE16. Somewhere between UE9 and UE15 IDM made some changes and the layout of the PRJ changed. You'll probably have to make some other changes to match your development layout.
Email me directly if you need any help.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.