×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Assuming the PDF files are on a Windows share, you could use IFS API's to access the QNTC file system to retrieve a list of files. Then display the desired files or give the user a SFL listing to choose from.

HTH



-----Original Message-----
From: Gad Miron [mailto:gadmiron@xxxxxxxxx]
Sent: Saturday, March 02, 2019 7:19 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Getting to network placed documents from green-screen apps

Hello sages

I could use a helping hand with this:

For some time now we store customer PDF documents on a network share directories, tree arranged by customer No. this way:
Customers (Directory of all customers)
Cst0000001 (sub directory of Customer No 1)
Ord00001.pdf (order No 1)
Ord00044.pdf
Inv00007.pdf (Invoice No 7)
Inv00023.pdf
.
.
Cst0000002 (sub directory of Customer No 2)
Ord000020.pdf
Ord00005.pdf
Inv00002.pdf
Inv000055.pdf

Cst0000003 (sub directory of Customer No 3)

etc..

When a (green screen) user wants to display a certain PDF doc (say order no
44)
We construct an appropriate path like \Customers\Cst0000001\Ord00044.pdf
and call STRPCCMD to open it on his/her PC.
We also let users see all documents in a customer directory by constructing a suitable path (like \Customers\Cst0000001\ ).

Now,
Users are asking to display customer's invoices only (or orders only or any other sub set).
but using wild-cards with STRPCCMD like in \Customers\Cst0000001\Inv*.pdf
does not produce anything (it hangs).

Does anyone here know how it can be done?

TIA
Gad


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.