× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Does anyone have an idea how to handle the following:

Several different net.data macros ask the user to enter a customer number 
as input for various inquiries (all items bought by a customer, all sales 
reps who handle a customer, all invoices sent to a customer, etc.)  We 
have a pretty good customer search program written in RPG which has been 
webfaced.  We'd like to have the different net.data macros "call" the 
webfaced customer search, have the user click on the desired customer, 
then have the customer number "returned" to the net.data macro.

 I'm thinking that the net.data macro could include "?calling 
program=MACRO1" as part of the URL that calls the webfaced search, and 
then have the RPG program somehow interrogate this to find the name of the 
net.data macro that called it.  (Is this in an environment variable, and 
can i get that from a webfaced program?)  If that is possible, then adding 
a HREF in the webfaced program that goes back to the appropriate net.data 
macro should be fairly easy.

Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.